diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-12 22:50:34 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-13 11:07:07 +0200 |
commit | 741c9405d0107daf28fefef3c882ba58a791e7d3 (patch) | |
tree | ae6da94d0d03d22a55bb24d4524726b184329188 /src/math | |
parent | Merge pull request #409 from erorcun/erorcun (diff) | |
download | re3-741c9405d0107daf28fefef3c882ba58a791e7d3.tar re3-741c9405d0107daf28fefef3c882ba58a791e7d3.tar.gz re3-741c9405d0107daf28fefef3c882ba58a791e7d3.tar.bz2 re3-741c9405d0107daf28fefef3c882ba58a791e7d3.tar.lz re3-741c9405d0107daf28fefef3c882ba58a791e7d3.tar.xz re3-741c9405d0107daf28fefef3c882ba58a791e7d3.tar.zst re3-741c9405d0107daf28fefef3c882ba58a791e7d3.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) |