From 8b19fd8341e676651610887616185b254af38df9 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Sat, 17 May 2025 04:18:18 -0300 Subject: [PATCH] add missing rotate x coord --- src/port/interpolation/FrameInterpolation.cpp | 2 +- src/racing/math_util.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);