Planetside Software Forums

Support => Terragen Support => Topic started by: mogn on January 29, 2010, 09:57:07 AM

Title: Arctan2
Post by: mogn on January 29, 2010, 09:57:07 AM
as can be seen from the attachment Arctan(2,4) returns the value 0.463648 (26.5651 degrees).
I expected 0.5236 (30 degrees) or 1.04712 (60 degrees) ?



Sorry Arctan2 works correctly. Arctan(y, x) returns the angle between the line from origin
to [x,y] and the y-axis.
Title: Re: Arctan2
Post by: dandelO on January 30, 2010, 08:08:16 AM
Ha, never seen one of my pics on anyone else's desktop before. :D Nice.

You might like the updated one better.