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

Function xMat3x3RotY

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

Source from the content-addressed store, hash-verified

340}
341
342void xMat3x3RotY(xMat3x3* m, F32 t)
343{
344 F32 cos = icos(t);
345 F32 sin = isin(t);
346
347 xVec3Init((xVec3*)m, cos, 0.0f, -sin);
348 xVec3Copy(&m->up, &g_Y3);
349 xVec3Init(&m->at, sin, 0.0f, cos);
350 m->flags = 0;
351}
352
353void xMat3x3RotZ(xMat3x3* m, F32 t)
354{

Callers 5

PlayerAbsControlFunction · 0.85
zEntPlayer_PredictPosFunction · 0.85
NPCC_rotHPBFunction · 0.85
zPlatFM_UpdateFunction · 0.85
xEntDriveUpdateFunction · 0.85

Calls 4

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

Tested by

no test coverage detected