diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-06 14:49:01 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-06 14:49:01 +0200 |
commit | dd602eb4a4064537fbe86f6539b9fc39b3245b85 (patch) | |
tree | a01e500b699204d0b0d668cf9e740da5b22f490a /src/math/math.cpp | |
parent | CHud: timer and damage fixes (diff) | |
download | re3-dd602eb4a4064537fbe86f6539b9fc39b3245b85.tar re3-dd602eb4a4064537fbe86f6539b9fc39b3245b85.tar.gz re3-dd602eb4a4064537fbe86f6539b9fc39b3245b85.tar.bz2 re3-dd602eb4a4064537fbe86f6539b9fc39b3245b85.tar.lz re3-dd602eb4a4064537fbe86f6539b9fc39b3245b85.tar.xz re3-dd602eb4a4064537fbe86f6539b9fc39b3245b85.tar.zst re3-dd602eb4a4064537fbe86f6539b9fc39b3245b85.zip |
Diffstat (limited to 'src/math/math.cpp')
-rw-r--r-- | src/math/math.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/math.cpp b/src/math/math.cpp index 0707e3d2..6201cee6 100644 --- a/src/math/math.cpp +++ b/src/math/math.cpp @@ -136,7 +136,7 @@ MultiplyInverse(const CMatrix &mat, const CVector &vec) mat.m_matrix.at.x * v.x + mat.m_matrix.at.y * v.y + mat.m_matrix.at.z * v.z); } -CVector +const CVector Multiply3x3(const CMatrix &mat, const CVector &vec) { return CVector( @@ -145,7 +145,7 @@ Multiply3x3(const CMatrix &mat, const CVector &vec) mat.m_matrix.right.z * vec.x + mat.m_matrix.up.z * vec.y + mat.m_matrix.at.z * vec.z); } -CVector +const CVector Multiply3x3(const CVector &vec, const CMatrix &mat) { return CVector( |