MCPcopy Create free account
hub / github.com/MBU-Team/OpenMBU / getAnglesFromVector

Function getAnglesFromVector

engine/source/math/mathUtils.cpp:196–214  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Returns yaw and pitch angles from a given vector. Angles are in RADIANS. Assumes north is (0.0, 1.0, 0.0), the degrees move upwards clockwise. The range of yaw is 0 - 2PI. The range of pitch is -PI/2 - PI/2. ASSUMES Z AXIS IS UP ------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

prepRenderImageMethod · 0.85

Calls 2

mAtanFunction · 0.85
mulVMethod · 0.80

Tested by

no test coverage detected