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

Function xMat4x3Mul

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

Source from the content-addressed store, hash-verified

541}
542
543void xMat4x3Mul(xMat4x3* o, const xMat4x3* a, const xMat4x3* b)
544{
545 xVec3 v;
546
547 xMat4x3Toworld(&v, b, &a->pos);
548 xMat3x3Mul((xMat3x3*)o, (xMat3x3*)a, (xMat3x3*)b);
549 xVec3Copy(&o->pos, &v);
550}
551
552// Matching in Ratatouille, minus debug stuff: https://decomp.me/scratch/VthMZ
553void xQuatFromMat(xQuat* q, const xMat3x3* m)

Callers 15

CalcMagnetizeInfoMethod · 0.85
GetBonePosFunction · 0.85
PatrickGrabCBFunction · 0.85
zEntPlayerCheckHelmetPopFunction · 0.85
emit_slugMethod · 0.85
zFragLoc_InitDirFunction · 0.85
GetBonePosFunction · 0.85
move_wedgieFunction · 0.85
iModelAnimMatricesFunction · 0.85
SkinXformFunction · 0.85
xSweptSphereToBoxFunction · 0.85
xSweptSphereToModelFunction · 0.85

Calls 3

xMat4x3ToworldFunction · 0.85
xVec3CopyFunction · 0.85
xMat3x3MulFunction · 0.70

Tested by

no test coverage detected