diff options
| author | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-23 12:43:43 -0500 |
|---|---|---|
| committer | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-23 12:43:43 -0500 |
| commit | 05b752d7b3af73b70bc903871541b014d8082c00 (patch) | |
| tree | adde135286a5788bd939f3b3eb96bba0067d060a /src/port/interpolation/FrameInterpolation.cpp | |
| parent | 21c9485bb4684b5097532128495f31142a0a372e (diff) | |
fix to make it compile with cmake 3.31
Diffstat (limited to 'src/port/interpolation/FrameInterpolation.cpp')
| -rw-r--r-- | src/port/interpolation/FrameInterpolation.cpp | 8 |
1 files 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; } |
