|
|
Jaap wrote:
> [...]
>
> #declare myFloat = (myFunction(x,y,z).red); // ???????????????
This won't work (and before you continue you should spend some time to
understand why not - you are calling myFunction(<1,0,0>,<0,1,0>,<0,0,1>)).
To have a conditional in a function use select().
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|