POV-Ray : Newsgroups : povray.newusers : Simple trig question : Re: Simple trig question Server Time
29 Jul 2024 04:19:35 EDT (-0400)
  Re: Simple trig question  
From: Leroy
Date: 13 Jun 2007 23:58:10
Message: <4670BBFC.2030205@joplin.com>
TheMightyZog wrote:
> Thanks Warp, but
>    rotate<(degrees(atan2(1,2))),0,0>
> or
>    rotate<(atan2(1,2)),0,0>
> is not the same as
>   rotate<30,0,0>
> 
> - 'tis a real puzzle!
> 
the tangent of 30 degrees is NOT 1/2
   degrees(atan2(1,2))= 26.56 degrees
   degrees(atan2(sqrt(3),1))= 30 degrees
           *
           * *
  sqrt(3)  *30 *   2
           *     *
           *90   60*
           **********
               1
  sin(30)=1/2        cos(60)=1/2
  cos(30)=sqrt(3)/2  sin(60)=sqrt(3)/2
  tan(30)=1/sqrt(3)  tan(60)=sqrt(3)/1


Post a reply to this message

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