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

Function xCam_CorrectH

src/SB/Core/x/xCamera.cpp:282–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282static void xCam_CorrectH(xCamera* r3, F32 f1, F32 f2, F32 f3)
283{
284 F32 tmp;
285
286 f2 = 0.15f * f2;
287
288 tmp = 1.4285715f * -(f2 * f3 - f1);
289 tmp -= f2;
290 tmp *= f3;
291
292 r3->mat.pos.y += tmp;
293}
294
295static void xCam_CorrectP(xCamera* r3, F32 f1, F32 f2, F32 f3)
296{

Callers 1

_xCameraUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected