POV-Ray : Newsgroups : povray.general : I need a little math help : Re: I need a little math help Server Time
9 Aug 2024 23:26:22 EDT (-0400)
  Re: I need a little math help  
From: Chris Huff
Date: 24 Apr 2000 12:26:30
Message: <chrishuff_99-1B5C48.11292724042000@news.povray.org>
In article <3903c0b1@news.povray.org>, "Chris Colefax" 
<chr### [at] tagpovrayorg> wrote:

> #declare NewPos = Radius*<cos(radians(Angle)), sin(radians(Angle))>;

I would have done it this way:
#declare NewPos = vrotate(x*Radius, y*Angle);

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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