diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-13 20:54:25 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-13 20:54:25 +0200 |
commit | 3b0cd93f89a9fea54b155fdae15ec56c6291c2cc (patch) | |
tree | e32278de01df4baf561b3966ef239bd045372e60 /src/math/Vector.h | |
parent | obviously forgot about it (diff) | |
parent | Merge pull request #412 from whampson/save-stuff (diff) | |
download | re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.gz re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.bz2 re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.lz re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.xz re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.zst re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.zip |
Diffstat (limited to 'src/math/Vector.h')
-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) |