POV-Ray : Newsgroups : povray.general : Simple Question Server Time
29 Oct 2024 23:57:28 EDT (-0400)
  Simple Question (Message 1 to 3 of 3)  
From: Chris S 
Subject: Simple Question
Date: 19 May 2000 21:35:41
Message: <3925ebed$1@news.povray.org>
This may be, well...a simple question, but how do you get the inverse sin,
cos, tan...in POV?

Thanks,
-Chris-


Post a reply to this message

From: Richard Speir
Subject: Re: Simple Question
Date: 19 May 2000 22:26:27
Message: <3925F8C5.DF94650C@hotmail.com>
The inverses are asin, acos, and atan -- short for arc sine, etc..


Post a reply to this message

From: David Fontaine
Subject: Re: Simple Question
Date: 20 May 2000 23:15:44
Message: <39275409.2332EE20@faricy.net>
Richard Speir wrote:

> The inverses are asin, acos, and atan -- short for arc sine, etc..

Now you have to use atan2(a,b) though, it does a/b and works when b is
zero
to use the old kind just do atan2(a/b,1)

--
David Fontaine     <dav### [at] faricynet>     ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/


Post a reply to this message

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