POV-Ray : Newsgroups : povray.general : PoV-Ray 3.5: Sin() works incorrect : Re: PoV-Ray 3.5: Sin() works incorrect Server Time
4 Aug 2024 16:14:07 EDT (-0400)
  Re: PoV-Ray 3.5: Sin() works incorrect  
From: Xilo Musimene
Date: 24 May 2003 17:29:48
Message: <3ECFE44B.3040903@hotpop.com>
> Now to my question(s):
> How can i rotate a cylinder manually without the sin()-command?
> And (because the answer of the first question will be: its impossible) can I
> detect the new coordinates of the cap point when I use the rotate-command?

When doing a 2D rotation:
   X = Radius*cos(radAngle)
   Y = Radius*sin(radAngle)

Where Radius is the distance from origin you want and radAngle the angle 
of rotation in radians.

HTH,
   Xilo

-- 
Dedicated to audio/visual and interactive artwork.
http://www.geocities.com/simonlemieux/


Post a reply to this message

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