Thread: arcsin
View Single Post
  #3  
Old 08-07-2004, 07:01 AM
Arkan1k Arkan1k is offline
Delph
Join Date: Feb 2004
Location: Melbourne, Australia
Posts: 35
Arkan1k is on a distinguished road
Send a message via AIM to Arkan1k Send a message via MSN to Arkan1k
No matter I worked it out. Was just a matter of converting radians to degrees as Graal does things in radians.
NPC Code:
tan = sin(30*(pi/180))/cos(30*(pi/180));
val = arctan(tan / (1 - tan * tan)^.5)*(180/pi));

__________________
[ Delph ]
Reply With Quote