|
|
Well, I'd be making sure then, won't I? In this
case, the exponents are rather big anyway (like
around 30 or such). But again, haven't thought
of that, and you're right.
Docs say: non-integer results might differ
for platforms. So this just makes sure that doesn't
happen.
Well. I guess everyone reading this will wonder
how I actually managed to write the LSSM... :-)
--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde
> > pow( abs(_light), int(_Pow)).
>
> There's no need to convert _Pow to an integer. There's absolutely
> nothing problematic with rational exponents as long as the base is
> positive.
>
> --
> #macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb
M()}}
> N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
> N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// -
Warp -
Post a reply to this message
|
|