|
![](/i/fill.gif) |
Hello,
A little stuck here... evidently povray does not support any type of
Return() function, and I am not familiar enough with sdl yet to figure this
out any other way.
This little macro does what it says, but not in this form.
#macro isEvenOrOdd(integer)
#if(mod(integer,2) = 0)
#local isEven = 1;
#else
#local isOdd = 1;
#end
#end
I had to use an instance of the following each time that I wished to use
this function:
// Determines if even or odd
#if(mod(glowTypeRand,2) = 0)
type 0
#else
type 2
#end
There HAS to be some way to pass variables from a macro...right? :-\
Thanks,
Ian
Post a reply to this message
|
![](/i/fill.gif) |