summaryrefslogtreecommitdiffstats
path: root/src/math/Vector.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-13 20:54:25 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-13 20:54:25 +0200
commit3b0cd93f89a9fea54b155fdae15ec56c6291c2cc (patch)
treee32278de01df4baf561b3966ef239bd045372e60 /src/math/Vector.h
parentobviously forgot about it (diff)
parentMerge pull request #412 from whampson/save-stuff (diff)
downloadre3-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.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)