diff options
Diffstat (limited to 'sdl/math3d.h')
-rw-r--r-- | sdl/math3d.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sdl/math3d.h b/sdl/math3d.h index 4ebe092..510c017 100644 --- a/sdl/math3d.h +++ b/sdl/math3d.h @@ -105,5 +105,10 @@ static inline void m3dTransposeMatrix44f(M3DMatrix44f dst, TRANSPOSE44(dst, src); } +static inline void m3dCopyVector3f(M3DVector3f dst, const M3DVector3f src) +{ + memcpy(dst, src, sizeof(M3DVector3f)); +} + #endif |