summaryrefslogtreecommitdiff
path: root/src/racing/math_util.c
diff options
context:
space:
mode:
authorMegaMech <inkstudios1@hotmail.com>2025-05-16 21:43:05 -0600
committerMegaMech <inkstudios1@hotmail.com>2025-05-16 21:43:05 -0600
commit1a810d74cc8531ce486bcb1c399cc6798fa1b51d (patch)
tree652b56552d51d9180ea2fbf5e7b36767a4a07ab8 /src/racing/math_util.c
parent7473382f06ac450df41dc14fb46e528dc1d31f11 (diff)
test
Diffstat (limited to 'src/racing/math_util.c')
-rw-r--r--src/racing/math_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/racing/math_util.c b/src/racing/math_util.c
index f1dd6bf5d..0f96c3117 100644
--- a/src/racing/math_util.c
+++ b/src/racing/math_util.c
@@ -190,6 +190,8 @@ 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];