diff options
| author | MegaMech <inkstudios1@hotmail.com> | 2025-05-19 16:42:11 -0600 |
|---|---|---|
| committer | MegaMech <inkstudios1@hotmail.com> | 2025-05-19 16:42:11 -0600 |
| commit | 1eba8ebc17ba71435f8d91b876c35d05f5735de0 (patch) | |
| tree | cb650f8c2365f982c2162446d069e3b0a0d9b49d /src/code_80057C60.c | |
| parent | c12225592a3aecc5dd3b059ebe222ed97d829cef (diff) | |
Fix interpolation camera bug
Diffstat (limited to 'src/code_80057C60.c')
| -rw-r--r-- | src/code_80057C60.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/code_80057C60.c b/src/code_80057C60.c index 32b24029b..23293b641 100644 --- a/src/code_80057C60.c +++ b/src/code_80057C60.c @@ -4967,9 +4967,10 @@ void func_800651F4(Player* player, UNUSED s8 arg1, UNUSED s8 arg2, s8 arg3) { } } +s32 D_func_800652D4_counter = 0; void func_800652D4(Vec3f arg0, Vec3s arg1, f32 arg2) { Mat4 mtx; - + FrameInterpolation_RecordOpenChild("some_thing", D_func_800652D4_counter++ << 8); mtxf_translate_rotate(mtx, arg0, arg1); mtxf_scale(mtx, arg2); // convert_to_fixed_point_matrix(&gGfxPool->mtxEffect[gMatrixEffectCount], mtx); @@ -4977,6 +4978,7 @@ void func_800652D4(Vec3f arg0, Vec3s arg1, f32 arg2) { // G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); AddEffectMatrix(mtx, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); + FrameInterpolation_RecordCloseChild(); } void func_8006538C(Player* player, s8 arg1, s16 arg2, s8 arg3) { |
