POV-Ray : Newsgroups : povray.newusers : Simple trig question : Re: Simple trig question Server Time
28 Jul 2024 22:26:48 EDT (-0400)
  Re: Simple trig question  
From: TheMightyZog
Date: 13 Jun 2007 15:13:40
Message: <467041e4@news.povray.org>
Thank you Marc, but I tried that the following
   rotate<atan(1/2),0,0>
should be the same as
  rotate<30,0,0>
but it is not and atan(1/1) does virtually nothing.
- or am I doing something wrong?

"Marc Schimmler" <mar### [at] webde> wrote in message
news:46703a71$1@news.povray.org...
> TheMightyZog schrieb:
> > I'm ashamed to have to ask this, but I just can not remember how to
> > calculate an angle in degrees if I know the opposite and adjacent side
of a
> > right-angled triangle.
> >
> > My only excuse is that I'm an OAP and school was just years ago and then
> > radians were not taught!
> >
> > Help!
> >
> > Thanks
> > Zog
> >
> >
>
> If it looks like this
>
>         alpha
>       /|
>    h /=|
>     /  | o
>    /  .|
>    -----
>      a
>
> alpha = atan (a/o)
> alpha = acot (o/a)
> alpha = asin (a/h)
>
>
> Is this what you wanted ... POVCODE?
>
> Marc
>


Post a reply to this message

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