Math Operators
( ) * / + - and logical NOT: !
#declare Result = -0.45*A + (B*B - 4)*C; //
#local Angle_1 = degrees( atan ( 2.5 / sqrt(2)); // angle value in degrees
Relational Operators.
< <= = != >= >
#declare Green_or_Red = pigment{ rgb<(clock <= 0.5),(clock > 0.5),0;>,}
Logical Operators
& // = AND
| // = OR
&! // = AND NOT
// Note: The Arguments A and B are not handled bitwise but logical!
#if (A & B)
... // do this if both A and B are true
#end
#if (A | B)
... // do this if either A or B is true
#end |