One thing I noticed while trying to compose some functions is that the
conditional expressions are not recognized by POV-Ray's function VM.
I can work around this with select(), but sometimes it would just be a lot
easier on my brain to use the simpler and more direct conditional syntax.
Possible Parse Error: Suspicious identifier found in function! If you want to
call a function make sure the function you call has been declared. If you call
an internal function, make sure you have included 'functions.inc'.
Parse Error: Expected 'operator', ? found instead
Conditional expressions: The operand C is boolean while operands A and B are any
expressions. The result is of the same type as A and B.
(C ? A : B) if C then A else B
Post a reply to this message
|