POV-Ray : Newsgroups : povray.advanced-users : Keeping objects spaced enough using Array? : Re: Keeping objects spaced enough using Array? Server Time
29 Jul 2024 12:16:39 EDT (-0400)
  Re: Keeping objects spaced enough using Array?  
From: Tim Nikias
Date: 21 Mar 2002 15:32:51
Message: <3C9A4371.8BD755F5@gmx.de>
Found the problem. The check had the error
with all those "&"s, there have should been
a "|" after each pair of boolean-statements.

So that's cleaned up, and actually also put into
two small macros to easily create such a
memorizing array. If anyone want it, post a
reply, I'll post the small include file at
p.b.s-f.


> //Should check if within range
>  #while (
>   #declare F=0; #while (F<Mem_Angle)
>     (Num_1>=Former[F]-Angle_Dif & Num_1<=Former[F]+Angle_Dif) & <===
> Error, replace "&" with "|"
>    #declare F=F+1; #end
>     true //(Num_1>=Former[F]-Angle_Dif & Num_1<=Former[F]+Angle_Dif)
>     //Num_1=Former[Mem_Angle-1]
>     )

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.