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

Function xMat3x3LMulVec

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

Source from the content-addressed store, hash-verified

509}
510
511void xMat3x3LMulVec(xVec3* o, const xMat3x3* m, const xVec3* v)
512{
513 F32 y = (m->up.x * v->x) + (m->up.y * v->y) + (m->up.z * v->z);
514 F32 z = (m->at.x * v->x) + (m->at.y * v->y) + (m->at.z * v->z);
515
516 o->x = (m->right.x * v->x) + (m->right.y * v->y) + (m->right.z * v->z);
517 o->y = y;
518 o->z = z;
519}
520
521void xMat3x3Tolocal(xVec3* o, const xMat3x3* m, const xVec3* v)
522{

Callers 7

xClimateVecFromAngleFunction · 0.70
xMat3x3TolocalFunction · 0.70
perturb_dirMethod · 0.70
BUpdateMethod · 0.50
VecFromAngleFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected