POV-Ray : Newsgroups : povray.programming : No Inverse trig functions? : Re: No Inverse trig functions? Server Time
28 Jul 2024 12:30:39 EDT (-0400)
  Re: No Inverse trig functions?  
From: Thomas Charron
Date: 23 Jan 2001 12:05:08
Message: <3a6db9c4$1@news.povray.org>
Sorry, misinterpetation of 'programming'..  :-P  My fault, blindly
posted..  For some reason, I didn;t see the darned arc routines in there..
(bonkbonkbonk)..  Rough day, my humble appologies..  Floggings may now
continue..

"Ron Parker" <ron### [at] povrayorg> wrote in message
news:slr### [at] fwicom...
> On Tue, 23 Jan 2001 11:36:36 -0500, Thomas Charron wrote:
> >    I never noticed untill I needed them.  Povray doesn't implement any
of
> >the inverse trig functions?  Please oh PLEASE tell me I'm wrong.  I need
> >them to calculate some angles required for an object rotation.  Blech.
> >Maybe I'll just patch the darned thing into MegaPOV..  :-(
>
> This doesn't really belong here, since it's a question about the scene
> language and not about the source code to POV, but you might want to
> reread the part of the documentation that says
>
> acos(A) Arc-cosine of A. Returns the angle, measured in radians, whose
>         cosine is A.
>
> [...]
>
> asin(A) Arc-sine of A. Returns the angle, measured in radians, whose
>         sine is A.
>
> atan2(A,B) Arc-tangent of (A/B). Returns the angle, measured in radians,
>         whose tangent is (A/B). Returns appropriate value even if B is
>         zero. Use atan2(A,1) to compute usual atan(A) function.
>
> --
> Ron Parker   http://www2.fwi.com/~parkerr/traces.html
> My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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