Rubeus
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|
Rubeus
Member
|
RE: AngleDelta
Thank you much.
|
|
06-29-2013 01:22 PM |
|
Rubeus
Member
|
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 |
|
Esenthel
Administrator
|
RE: AngleDelta
Hi, ok, I'll add asin for next release
|
|
06-30-2013 01:42 PM |
|
Rubeus
Member
|
RE: AngleDelta
Sweet, thanks
|
|
06-30-2013 01:46 PM |
|