diff options
Diffstat (limited to 'src/math/math.cpp')
-rw-r--r-- | src/math/math.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/math.cpp b/src/math/math.cpp index e8b7d933..66260709 100644 --- a/src/math/math.cpp +++ b/src/math/math.cpp @@ -41,6 +41,12 @@ CMatrix::Rotate(float x, float y, float z) } void +CMatrix::RotateX(float x) +{ + Rotate(x, 0.0f, 0.0f); +} + +void CMatrix::Reorthogonalise(void) { CVector &r = GetRight(); |