MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xQuatToAxisAngle

Function xQuatToAxisAngle

src/SB/Core/x/xMath3.cpp:648–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648void xQuatToAxisAngle(const xQuat* q, xVec3* a, F32* t)
649{
650 *t = 2.0f * xacos(q->s);
651 xVec3Normalize(a, &q->v);
652}
653
654F32 xQuatNormalize(xQuat* o, const xQuat* q)
655{

Callers 1

_xCameraUpdateFunction · 0.85

Calls 2

xacosFunction · 0.85
xVec3NormalizeFunction · 0.70

Tested by

no test coverage detected