summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-28 21:26:38 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-28 21:26:38 +0300
commit8cb3c071510e7675e35d59c73fc0c86ca30d51a9 (patch)
tree00e78192e09ca5f130ea4bbfed5f46464e72ec2a /src/math
parentb47c5054388b6620b1b0bc27a60dfeca6acd208a (diff)
some nasty FIX_BUGS for SLIDE_OBJECT
Diffstat (limited to 'src/math')
-rw-r--r--src/math/Vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/Vector.h b/src/math/Vector.h
index 082b296f..4cc2171f 100644
--- a/src/math/Vector.h
+++ b/src/math/Vector.h
@@ -65,11 +65,11 @@ public:
return CVector(-x, -y, -z);
}
- const bool operator==(CVector const &right) {
+ const bool operator==(CVector const &right) const {
return x == right.x && y == right.y && z == right.z;
}
- const bool operator!=(CVector const &right) {
+ const bool operator!=(CVector const &right) const {
return x != right.x || y != right.y || z != right.z;
}