diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-14 00:18:53 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-14 00:18:53 +0200 |
commit | f54c83c0b527e3034538e4c8791f10fc4e313576 (patch) | |
tree | d10bf31e0badad1e55f035c585c47af557e961e9 /src/math | |
parent | scene edit (diff) | |
parent | update readme (diff) | |
download | re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.gz re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.bz2 re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.lz re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.xz re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.zst re3-f54c83c0b527e3034538e4c8791f10fc4e313576.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) |