Ninja Library - Mathematical Function
njArcTan2
Returns an arc tangent
FORMAT
Angle njArcTan2( y, x )
Float x
Float y
PARAMETER
x
Length of base
y
Altitude
RETURN
Value of arc tangent
DESCRIPTION
Determines the arc tangent from given base x and altitude y and returns the value of the result.
EXAMPLE
ans = njArcTan2( 4.f , 2.f ); % Result % ans = 0x2d1b
REFERENCE
njArcCos
()
njArcCosec
()
njArcCot
()
njArcSec
()
njArcSin
()
njArcTan2
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999