summaryrefslogtreecommitdiffstats
path: root/src/math/Vector.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-14 00:18:53 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-14 00:18:53 +0200
commitf54c83c0b527e3034538e4c8791f10fc4e313576 (patch)
treed10bf31e0badad1e55f035c585c47af557e961e9 /src/math/Vector.h
parentscene edit (diff)
parentupdate readme (diff)
downloadre3-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/Vector.h')
-rw-r--r--src/math/Vector.h2
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)