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

Function xMat3x3RotX

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

Source from the content-addressed store, hash-verified

329}
330
331void xMat3x3RotX(xMat3x3* m, F32 t)
332{
333 F32 cos = icos(t);
334 F32 sin = isin(t);
335
336 xVec3Copy(&m->right, &g_X3);
337 xVec3Init(&m->up, 0.0f, cos, sin);
338 xVec3Init(&m->at, 0.0f, -sin, cos);
339 m->flags = 0;
340}
341
342void xMat3x3RotY(xMat3x3* m, F32 t)
343{

Callers 2

NPCC_rotHPBFunction · 0.85
zPlatFM_UpdateFunction · 0.85

Calls 4

icosFunction · 0.85
isinFunction · 0.85
xVec3CopyFunction · 0.85
xVec3InitFunction · 0.85

Tested by

no test coverage detected