summaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-04-13 11:51:30 +0200
committerGitHub <noreply@github.com>2020-04-13 11:51:30 +0200
commitc008eb243119398980ae99d615d61bc7b3b64ab9 (patch)
tree3edf305574015a237147e8d52587d8da082ef00d /src/math
parentMerge pull request #411 from aap/master (diff)
parentCPacManPickups (diff)
downloadre3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar
re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.gz
re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.bz2
re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.lz
re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.xz
re3-c008eb243119398980ae99d615d61bc7b3b64ab9.tar.zst
re3-c008eb243119398980ae99d615d61bc7b3b64ab9.zip
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)