Difference between revisions of "Trigonometry Functions"

425 bytes added ,  21:59, 9 May 2006
imported>DragoonWraith
imported>DragoonWraith
Line 146: Line 146:


= Arcsine =
= Arcsine =
= Arcsine, Arccosine, and Arctangent =
Sin=Opp/Hyp - The arcsine is the angle between two points, when the distance is the hypotenuse of the triangle and the opposing side is either the x- or the y-difference (whatever is shorter). To get the z-angle (left/right) between two objects in Oblivion you can use the function [[GetHeadingAngle]]. But when you need the x-angle (up/down) you still have to calculate the arcsin.
== Abramowitz/Stegun Approximation ==
== Abramowitz/Stegun Approximation ==
Abramowitz and Stegun found this polynomal approximation for arcsine:
Abramowitz and Stegun found this polynomal approximation for arcsine: