diff options
Diffstat (limited to 'src/math/matrix.h')
-rw-r--r-- | src/math/matrix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/matrix.h b/src/math/matrix.h index 7ee40e8..45a7d75 100644 --- a/src/math/matrix.h +++ b/src/math/matrix.h @@ -121,7 +121,7 @@ struct Matrix //! Returns the struct cast to \c float* array; use with care! inline float* Array() { - return (float*)this; + return reinterpret_cast<float*>(this); } //! Transposes the matrix |