MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getDirection

Method getDirection

Engine/source/math/mRotation.cpp:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191VectorF RotationF::getDirection()
192{
193 VectorF dir;
194 EulerF angles = asEulerF();
195 MathUtils::getVectorFromAngles(dir, angles.z, angles.x);
196
197 return dir;
198}
199
200//========================================================
201EulerF RotationF::asEulerF(UnitFormat _format) const

Callers 10

openMethod · 0.45
_setupConstantsMethod · 0.45
setShaderParamsMethod · 0.45
prepRenderImageMethod · 0.45
setupVertexBlockMethod · 0.45
prepRenderImageMethod · 0.45
renderObjectMethod · 0.45
onWakeMethod · 0.45
setLightTranslateMethod · 0.45
mRotation.cppFile · 0.45

Calls 1

getVectorFromAnglesFunction · 0.85

Tested by

no test coverage detected