mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 04:21:42 +00:00
Revert/fix recent romhack camera changes (#551)
* Revert/fix recent camera changes * Undo camera direction revert
This commit is contained in:
parent
839fb38ca5
commit
9285e404db
1 changed files with 1 additions and 1 deletions
|
|
@ -12339,7 +12339,7 @@ void mode_rom_hack_camera(struct Camera *c) {
|
|||
f32 desiredHeight = sRomHackZoom ? 300 : 450;
|
||||
f32* mPos = &gMarioStates[0].pos[0];
|
||||
pos[0] = mPos[0] + coss(sRomHackYaw) * desiredDist;
|
||||
pos[1] = pos[1] + desiredHeight;
|
||||
pos[1] = mPos[1] + desiredHeight;
|
||||
pos[2] = mPos[2] + sins(sRomHackYaw) * desiredDist;
|
||||
|
||||
// Move camera down for hangable ceilings
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue