| 335 | static const RwV3d _1169 = { 0, 1, 0 }; |
| 336 | |
| 337 | static 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 | |
| 350 | static RpMaterial* MaterialDisableMatFX(RpMaterial* material, void*) |
| 351 | { |