diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-12-13 17:28:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-13 17:28:44 -0700 |
| commit | 7bc8d6f4be2bc22f7f4815d3c5eac691c4b92c0f (patch) | |
| tree | ea7bed88faf5f3bb0788c698fd0252d3f624548a /src/camera.h | |
| parent | 4e51b7d5b6a9b89deb5ef135deec0ee5f0087e7c (diff) | |
Refactor Field-of-view into the Camera Struct (#590)
* Fix finishline for toads turnpike in extra
* Fixed trash bin in extra
* Refactor fov
* Update scene.json
* Allow setting fog
* impl fog save & load
Diffstat (limited to 'src/camera.h')
| -rw-r--r-- | src/camera.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/camera.h b/src/camera.h index 8329e4080..04085ddbd 100644 --- a/src/camera.h +++ b/src/camera.h @@ -40,6 +40,7 @@ typedef struct { // I think these are the "nautical angles" between pos and lookAt // rot[0] = roll? Does nothing?, rot[1] = yaw, rot[2] = pitch /* 0x24 */ Vec3s rot; + f32 fieldOfView; /* 0x2A */ u16 someBitFlags; /* 0x2C */ s16 unk_2C; /* 0x2E */ s16 unk_2E; @@ -85,7 +86,7 @@ void func_8001E45C(Camera*, Player*, s8); void func_8001E8E8(Camera*, Player*, s8); void func_8001EA0C(Camera*, Player*, s8); void func_8001EE98(Player*, Camera*, s8); -void func_8001F394(Player*, f32*); +void func_8001F394(Player*); void func_8001F87C(s32); extern f32 D_800DDB30[]; |
