set cameraToObject to 0

it'll make both of your ears enjoy sounds rather than your right one only
This commit is contained in:
headshot2017
2022-12-27 18:09:30 -04:00
parent 2f361951b5
commit 4a40f66981
+4
View File
@@ -228,6 +228,10 @@ SM64_LIB_FN void sm64_mario_tick( int32_t marioId, const struct SM64MarioInputs
update_button( inputs->buttonB, B_BUTTON ); update_button( inputs->buttonB, B_BUTTON );
update_button( inputs->buttonZ, Z_TRIG ); update_button( inputs->buttonZ, Z_TRIG );
gMarioState->marioObj->header.gfx.cameraToObject[0] = 0;
gMarioState->marioObj->header.gfx.cameraToObject[1] = 0;
gMarioState->marioObj->header.gfx.cameraToObject[2] = 0;
gMarioState->area->camera->yaw = atan2s( inputs->camLookZ, inputs->camLookX ); gMarioState->area->camera->yaw = atan2s( inputs->camLookZ, inputs->camLookX );
gController.stickX = -64.0f * inputs->stickX; gController.stickX = -64.0f * inputs->stickX;