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

Function xMat3x3RotZ

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

Source from the content-addressed store, hash-verified

351}
352
353void xMat3x3RotZ(xMat3x3* m, F32 t)
354{
355 F32 cos = icos(t);
356 F32 sin = isin(t);
357
358 xVec3Init(&m->right, cos, sin, 0.0f);
359 xVec3Init(&m->up, -sin, cos, 0.0f);
360 xVec3Copy(&m->at, &g_Z3);
361 m->flags = 0;
362}
363
364void xMat3x3ScaleC(xMat3x3* m, F32 x, F32 y, F32 z)
365{

Callers 3

RenderMethod · 0.85
NPCC_rotHPBFunction · 0.85
zPlatFM_UpdateFunction · 0.85

Calls 4

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

Tested by

no test coverage detected