diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-25 15:48:13 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-25 15:48:13 +0200 |
commit | 16624e174bc8c9e53a59f392b159b529e11ef82c (patch) | |
tree | 4c8a2131d5e58f3da2e2586c201855c01ada14b0 /src/math/math.cpp | |
parent | more CCarCtrl (diff) | |
parent | Merge pull request #196 from erorcun/erorcun (diff) | |
download | re3-16624e174bc8c9e53a59f392b159b529e11ef82c.tar re3-16624e174bc8c9e53a59f392b159b529e11ef82c.tar.gz re3-16624e174bc8c9e53a59f392b159b529e11ef82c.tar.bz2 re3-16624e174bc8c9e53a59f392b159b529e11ef82c.tar.lz re3-16624e174bc8c9e53a59f392b159b529e11ef82c.tar.xz re3-16624e174bc8c9e53a59f392b159b529e11ef82c.tar.zst re3-16624e174bc8c9e53a59f392b159b529e11ef82c.zip |
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(); |