POV-Ray : Newsgroups : povray.advanced-users : rotating in a function : Re: rotating in a function Server Time
3 Jul 2024 06:11:26 EDT (-0400)
  Re: rotating in a function  
From: Leroy Whetstone
Date: 1 Mar 2009 14:17:45
Message: <49AADF21.8040405@joplin.com>
Found the Fix!

#local H30=.5*tan(radians(30));
#local H60=sin(radians(60));
#local 
Fnc=function(x,y,z,Ang){Fna((x-.50)*cos(Ang)+(y*H60-H30)*sin(Ang)+.50, 
 
-(x-.50)*sin(Ang)+(y*H60-H30)*cos(Ang)+H30,0)};

Don't know Why it works but it does!!

Have Fun!


Post a reply to this message

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