diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-09-29 18:44:51 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-10-01 18:16:36 +0200 |
commit | c03efd0aa152ed3c82d8990ac208933baebc826e (patch) | |
tree | c521789bc66ff0ea0514b8f93e23d94e44221ebb /src/math/math.cpp | |
parent | Merge pull request #213 from Sergeanur/PlayerSkin (diff) | |
download | re3-c03efd0aa152ed3c82d8990ac208933baebc826e.tar re3-c03efd0aa152ed3c82d8990ac208933baebc826e.tar.gz re3-c03efd0aa152ed3c82d8990ac208933baebc826e.tar.bz2 re3-c03efd0aa152ed3c82d8990ac208933baebc826e.tar.lz re3-c03efd0aa152ed3c82d8990ac208933baebc826e.tar.xz re3-c03efd0aa152ed3c82d8990ac208933baebc826e.tar.zst re3-c03efd0aa152ed3c82d8990ac208933baebc826e.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 66260709..0707e3d2 100644 --- a/src/math/math.cpp +++ b/src/math/math.cpp @@ -47,6 +47,12 @@ CMatrix::RotateX(float x) } void +CMatrix::RotateZ(float z) +{ + Rotate(0.0f, 0.0f, z); +} + +void CMatrix::Reorthogonalise(void) { CVector &r = GetRight(); |