Wiki > TV3D65 Index > TVMathLibrary
Calculates angle from given direction coordinates.
| VB.NET | Direction2Ang(fX As Single , fZ As Single) As Single | |
|---|---|---|
| C++ | float Direction2Ang(float fX , float fZ ) | |
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| fX | No | X direction coordinate |
| fZ | No | Z direction coordinate |
| Single | Angle in radians or degrees. |
|---|
| Example | Basic example. |
|---|