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

Function xVec3Dist

src/SB/Core/x/xCollide.cpp:2553–2559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2551 xMat3x3Transpose(a, b);
2552 xMat3x3RMulVec(&vec, a, &b->pos);
2553 xVec3Inv(&a->pos, &vec);
2554}
2555
2556F32 xMat3x3LookVec3(xMat3x3& mat, const xVec3& at)
2557{
2558 F32 len = at.length();
2559 if (len >= -0.0000099999997f && len <= 0.0000099999997f)
2560 {
2561 mat = g_I3;
2562 len = 0.0f;

Callers 4

CalcMagnetizeInfoMethod · 0.85
TranSpeedFunction · 0.85
zSceneUpdateFunction · 0.85
xModelRender2DFunction · 0.85

Calls 1

xsqrtFunction · 0.85

Tested by

no test coverage detected