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

Function getVectorFromAngles

engine/source/math/mathUtils.cpp:223–238  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Returns vector from given yaw and pitch angles. 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

AnimateSunMethod · 0.85

Calls 2

mulVMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected