MCPcopy Create free account
hub / github.com/axmolengine/axmol / getForwardVector

Method getForwardVector

core/math/Mat4.cpp:625–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623}
624
625void Mat4::getForwardVector(Vec3* dst) const
626{
627 AX_ASSERT(dst);
628
629 dst->x = -m[8];
630 dst->y = -m[9];
631 dst->z = -m[10];
632}
633
634void Mat4::getBackVector(Vec3* dst) const
635{

Callers 8

onTouchesMovedMethod · 0.45
updateMethod · 0.45
updateStateMethod · 0.45
onTouchesMovedMethod · 0.45
SwitchViewCallbackMethod · 0.45
onTouchesMovedMethod · 0.45
updateStateMethod · 0.45
onTouchesMovedMethod · 0.45

Calls

no outgoing calls

Tested by 8

onTouchesMovedMethod · 0.36
updateMethod · 0.36
updateStateMethod · 0.36
onTouchesMovedMethod · 0.36
SwitchViewCallbackMethod · 0.36
onTouchesMovedMethod · 0.36
updateStateMethod · 0.36
onTouchesMovedMethod · 0.36