Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
648
void xQuatToAxisAngle(const xQuat* q, xVec3* a, F32* t)
649
{
650
*t = 2.0f * xacos(q->s);
651
xVec3Normalize(a, &q->v);
652
}
653
654
F32 xQuatNormalize(xQuat* o, const xQuat* q)
655
{
Callers
1
_xCameraUpdate
Function · 0.85
Calls
2
xacos
Function · 0.85
xVec3Normalize
Function · 0.70
Tested by
no test coverage detected