Method b3Atan2
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Atan2(float, float)
Computes an approximate arctangent in the range minus pi to pi.
public static extern float b3Atan2(float y, float x)Parameters
Returns
- float
-
The angle in radians.
Remarks
Hand coded for cross-platform determinism, which the standard library
atan2f does not provide. Accurate to about 0.0023 degrees.