POV-Ray Insert Menu
mady by Christoph Hormann
http://www.imagico.de/

Conditional Expression

top previous next

// The conditional expression returns a value depending
// on whether an expression is true or false.
// In this case: if X is larger than Y, A is returned, otherwise B

#declare Value=((X>Y)?A:B);