|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> wrote in message news:3ec2d0ad@news.povray.org...
> Jaap Frank <jjf### [at] xs4all nl> wrote:
> > When using the functions mod(A,B) and div(A,B)
> > you can't give values for A greater then int(float),
>
> I suppose these use internally C's int() as well. Using fdiv() and floor()
> instead should fix the problem.
>
> --
> #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{
The first three numbers below exceed the max-value 2 147 483 647 for div() and
mod().
> N(11 117 333 955)N(4 254 934 330)N(3 900 569 407)N(7 382 340)N(3358)N(970)}// -
Warp -
Haven't this give you troubles?
Jaap Frank
Post a reply to this message
|
![](/i/fill.gif) |