POV-Ray : Newsgroups : povray.general : cos & sin functions : Re: cos & sin functions Server Time
2 Aug 2024 00:19:14 EDT (-0400)
  Re: cos & sin functions  
From: Chris B
Date: 19 Feb 2005 16:10:35
Message: <4217ab4b@news.povray.org>
"Tjeiken" <nomail@nomail> wrote in message
news:web.4217a68c1eb30463d977fb9c0@news.povray.org...
> ... snip .... I'm going to use cos and sin functions to get the x and y
> coordinates ... snip ...
> The problem is, that when i use it, either the POV-Ray, or my calculator
> are calculating wrong ... snip ...
> Hope you can help me.
> -Tjeiken
>

It's not just that sin() and cos() are in Radians is it?
If you're thinking in Degrees you need sind() and cosd().

Regards,
Chris B.


Post a reply to this message

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