About Store Forum Documentation Contact



Post Reply 
AngleDelta
Author Message
Rubeus Offline
Member

Post: #1
AngleDelta
Is the AngleDelta math function the same as Math.Atan2 in the standard libraries? If not, is there a function that accomplishes the same thing?

Thanks
06-28-2013 01:01 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: AngleDelta
Hello,

AngleDelta just calculates differences between 2 angles and wraps the value range to -PI .. PI.
It's not the same as Atan2.

A different function is based on atan2f, and that is 'Flt Angle(C Vec2 &v, Bool fast)'
06-29-2013 10:17 AM
Find all posts by this user Quote this message in a reply
Rubeus Offline
Member

Post: #3
RE: AngleDelta
Thank you much.
06-29-2013 01:22 PM
Find all posts by this user Quote this message in a reply
Rubeus Offline
Member

Post: #4
RE: AngleDelta
Another Trig-related question: you have an Atan and an Acos, but no Asin. I was able to get the Asin by doing some calcs on the Atan, but I though it was curious that this one was missing-or named differently.
06-29-2013 04:32 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: AngleDelta
Hi, ok, I'll add asin for next release
06-30-2013 01:42 PM
Find all posts by this user Quote this message in a reply
Rubeus Offline
Member

Post: #6
RE: AngleDelta
Sweet, thanks
06-30-2013 01:46 PM
Find all posts by this user Quote this message in a reply
Post Reply