POV-Ray : Newsgroups : povray.newusers : problem using rotate in a while loop : Re: problem using rotate in a while loop Server Time
4 Nov 2024 17:37:14 EST (-0500)
  Re: problem using rotate in a while loop  
From: Suso Banderas
Date: 10 Feb 2003 22:53:42
Message: <3e4873c6$1@news.povray.org>
Oh I get it now.  POV-Ray really functions reverse of what I expected.
Being a programmer, I was expecting it to keep track of what the box's
previous rotational angle was on the last iteration of the while loop.  I
should have realized that I wasn't doing that with the position.  Thanks
for your help.  Both of you.

On Mon, 10 Feb 2003 17:29:37 -0500, Tor Olav Kristensen wrote:

>>
>>
> You can just change this line:
> rotate <0,increment*degree,0>
> 
> - to this:
> rotate <0,-position*degree,0>
> 
> 
> Tor Olav


Post a reply to this message

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