POV-Ray : Newsgroups : povray.newusers : Simple trig question : Re: Simple trig question Server Time
28 Jul 2024 22:23:39 EDT (-0400)
  Re: Simple trig question  
From: Warp
Date: 13 Jun 2007 15:15:23
Message: <4670424a@news.povray.org>
TheMightyZog <Chr### [at] hotpopcom> wrote:
> Thank you Marc, but I tried that the following
>    rotate<atan(1/2),0,0>
> should be the same as
>   rotate<30,0,0>

  It shouldn't because atan() returns radians while rotate takes degrees.

  Besides, you should really use atan2().

-- 
                                                          - Warp


Post a reply to this message

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