POV-Ray : Newsgroups : povray.general : Star Macro : Re: Star Macro Server Time
10 Aug 2024 23:26:27 EDT (-0400)
  Re: Star Macro  
From: Jerome M  BERGER
Date: 11 Oct 1999 13:43:01
Message: <38022197.FA123A16@enst.fr>
Kevin Wampler wrote:
> The problem here is that you divided by ptmove within the vrotate() statement.
> Change the fourth line to this:
> 
> #local vec  =  vrotate(<0,1,0>,<0,0,angle_of_rotation*rotation_no>)/ptmove;
> 
> and it should work.

	Or faster:
vrotate(<0, 1/ptmove, 0>, <0,0,angle_of_rotation*rotation_no>);

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

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