summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-12 23:50:34 +0300
committerSergeanur <s.anureev@yandex.ua>2020-04-13 12:07:07 +0300
commit741c9405d0107daf28fefef3c882ba58a791e7d3 (patch)
treeae6da94d0d03d22a55bb24d4524726b184329188 /src/math
parenta622c9e87736f52426c65b178b650fdc5b427d54 (diff)
CPacManPickups
Diffstat (limited to 'src/math')
-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)