diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2025-05-17 04:18:18 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2025-05-17 04:18:18 -0300 |
| commit | 8b19fd8341e676651610887616185b254af38df9 (patch) | |
| tree | 92f03b41e348ad5d25e40c48b4ea6dac34545bab | |
| parent | 603a9779621c33f5b7b838473c4181783baafd1f (diff) | |
add missing rotate x coord
| -rw-r--r-- | src/port/interpolation/FrameInterpolation.cpp | 2 | ||||
| -rw-r--r-- | src/racing/math_util.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/port/interpolation/FrameInterpolation.cpp b/src/port/interpolation/FrameInterpolation.cpp index a674c1ff2..4a6725cbe 100644 --- a/src/port/interpolation/FrameInterpolation.cpp +++ b/src/port/interpolation/FrameInterpolation.cpp @@ -530,7 +530,7 @@ void FrameInterpolation_RecordMarker(const char* file, int line) { if (!is_recording) return; - // append(Op::Marker).marker = { file, line }; + append(Op::Marker).marker = { file, line }; } void FrameInterpolation_RecordMatrixPop(Mat4* matrix) { diff --git a/src/racing/math_util.c b/src/racing/math_util.c index 457975ebb..1fb975048 100644 --- a/src/racing/math_util.c +++ b/src/racing/math_util.c @@ -333,6 +333,7 @@ void func_802B5794(Mat4 mtx, Vec3f from, Vec3f to) { // create a rotation matrix around the x axis void mtxf_rotate_x(Mat4 mat, s16 angle) { + FrameInterpolation_RecordMatrixRotate1Coord(&mat, 0, angle); f32 sin_theta = sins(angle); f32 cos_theta = coss(angle); |
