> The angle is definitely undefined - but I would be quite happy for POV
> to return *any* angle to me... Now I have to figure out how to get round
> this parse error. :-/
#declare A = ...;
#declare B = ...;
#if (A != 0 | B != 0)
#declare angle = atan2(A,B);
#else
#declare angle = 0;
#end
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|