diff options
Diffstat (limited to 'src/port/interpolation/FrameInterpolation.cpp')
| -rw-r--r-- | src/port/interpolation/FrameInterpolation.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/port/interpolation/FrameInterpolation.cpp b/src/port/interpolation/FrameInterpolation.cpp index d0e0fe0f0..836e6c70c 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. @@ -49,6 +52,11 @@ static bool invert_matrix(const float m[16], float invOut[16]); using namespace std; +extern "C" { +extern Mat4* gInterpolationMatrix; +void mtxf_translate(Mat4, Vec3f); +} + namespace { enum class Op { @@ -234,11 +242,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; } |
