diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-13 11:51:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 11:51:30 +0200 |
commit | c008eb243119398980ae99d615d61bc7b3b64ab9 (patch) | |
tree | 3edf305574015a237147e8d52587d8da082ef00d /src/math | |
parent | Merge pull request #411 from aap/master (diff) | |
parent | CPacManPickups (diff) | |
download | re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.gz re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.bz2 re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.lz re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.xz re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.zst re3-c008eb243119398980ae99d615d61bc7b3b64ab9.zip |
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/Vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/Vector.h b/src/math/Vector.h index 6f544ada..1274a4b2 100644 --- a/src/math/Vector.h +++ b/src/math/Vector.h @@ -83,7 +83,7 @@ public: return x == right.x && y == right.y && z == right.z; } - bool IsZero(void) { return x == 0.0f && y == 0.0f && z == 0.0f; } + bool IsZero(void) const { return x == 0.0f && y == 0.0f && z == 0.0f; } }; inline CVector operator+(const CVector &left, const CVector &right) |