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

Function LightResetFrame

src/SB/Core/x/xFX.cpp:337–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335static const RwV3d _1169 = { 0, 1, 0 };
336
337static void LightResetFrame(RpLight* light)
338{
339 // non-matching: lwzu instruction
340
341 RwV3d v1 = { 1, 0, 0 };
342 RwV3d v2 = { 0, 1, 0 };
343
344 RwFrame* frame = RpLightGetFrame(light);
345
346 RwFrameRotate(frame, &v1, 45.0f, rwCOMBINEREPLACE);
347 RwFrameRotate(frame, &v2, 45.0f, rwCOMBINEPOSTCONCAT);
348}
349
350static RpMaterial* MaterialDisableMatFX(RpMaterial* material, void*)
351{

Callers 1

xFXInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected