summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegaMech <inkstudios1@hotmail.com>2025-05-16 22:29:44 -0600
committerMegaMech <inkstudios1@hotmail.com>2025-05-16 22:29:44 -0600
commit1c5bcd821c828e432779b99e2e3c3e47dbdd2c3d (patch)
tree978c16924fb9dee05af58f16d9169a1d3475deac
parent881732eb8d1a5746c0fbb82d0319b5132d01419f (diff)
Actually interpolate item box
-rw-r--r--src/racing/math_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/racing/math_util.c b/src/racing/math_util.c
index f1dd6bf5d..457975ebb 100644
--- a/src/racing/math_util.c
+++ b/src/racing/math_util.c
@@ -190,6 +190,7 @@ void mtxf_identity(Mat4 mtx) {
// Add a translation vector to a matrix, mat is the matrix to add, dest is the destination matrix, pos is the
// translation vector
void add_translate_mat4_vec3f(Mat4 mat, Mat4 dest, Vec3f pos) {
+ FrameInterpolation_RecordMatrixTranslate(dest, pos);
dest[3][0] = mat[3][0] + pos[0];
dest[3][1] = mat[3][1] + pos[1];
dest[3][2] = mat[3][2] + pos[2];