POV-Ray : Newsgroups : povray.binaries.images : vlength [14.7kb] : Re: vlength [14.7kb] Server Time
16 Aug 2024 18:18:57 EDT (-0400)
  Re: vlength [14.7kb]  
From: marabou
Date: 5 Jan 2002 10:25:14
Message: <3c371ada@news.povray.org>
okay, you inverted my look of this. with your code you get an endless loop. 
i do not know, but it has to do with the line
      #while (Temp < Counter)

Mike Williams wrote:
> 
>   #local Good = 0;
>   #while (Good = 0)
>      #local Random_Place = <3*rand(ix),0,3*rand(ze)>;
>      #local Temp = 0;
>      #local Good = 1;
>      #while (Temp < Counter)
>         #if ( (vlength(Mylist[Temp]-Random_Place)) < (2*Radi) )
>             #local Good = 0;
>         #end
>         #local Temp = Temp + 1;
>      #end //while(Temp..
>   #end //while(Good=0)
>


Post a reply to this message

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