From 05b752d7b3af73b70bc903871541b014d8082c00 Mon Sep 17 00:00:00 2001 From: sitton76 <58642183+sitton76@users.noreply.github.com> Date: Fri, 23 May 2025 12:43:43 -0500 Subject: [PATCH] fix to make it compile with cmake 3.31 --- src/port/interpolation/FrameInterpolation.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/port/interpolation/FrameInterpolation.cpp b/src/port/interpolation/FrameInterpolation.cpp index d0e0fe0f0..c86f63089 100644 --- a/src/port/interpolation/FrameInterpolation.cpp +++ b/src/port/interpolation/FrameInterpolation.cpp @@ -12,6 +12,9 @@ extern "C" { #include "math_util.h" #include "math_util_2.h" #include "render_player.h" + +extern Mat4* gInterpolationMatrix; +void mtxf_translate(Mat4, Vec3f); } /* Frame interpolation. @@ -234,11 +237,6 @@ Data& append(Op op) { return m.emplace_back(); } -extern "C" { -extern Mat4* gInterpolationMatrix; -void mtxf_translate(Mat4, Vec3f); -} - MtxF* Matrix_GetCurrent() { return (MtxF*) gInterpolationMatrix; }