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

Function move_right

src/SB/Game/zEntPlayerOOBState.cpp:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 }
153
154 static void move_right(xVec3& vec, F32 scale)
155 {
156 xMat4x3& camMat = globals.camera.mat;
157
158 xVec3 localCoords;
159 xMat4x3Tolocal(&localCoords, &camMat, &vec);
160
161 vec += camMat.right * scale * localCoords.z * (4.0f / 3.0f);
162 }
163
164 static void update_max_out_time(const xSurface& surface)
165 {

Callers 1

updateMethod · 0.70

Calls 1

xMat4x3TolocalFunction · 0.85

Tested by

no test coverage detected