summaryrefslogtreecommitdiffstats
path: root/src/Vector3.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-06 20:38:01 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-06 20:38:01 +0200
commitcca8376a0127a3e1711ed46d7e5491750135e715 (patch)
tree895f1787abb4a1234aa58546eaefb37d2f971922 /src/Vector3.h
parentSuggestions'd (diff)
downloadcuberite-cca8376a0127a3e1711ed46d7e5491750135e715.tar
cuberite-cca8376a0127a3e1711ed46d7e5491750135e715.tar.gz
cuberite-cca8376a0127a3e1711ed46d7e5491750135e715.tar.bz2
cuberite-cca8376a0127a3e1711ed46d7e5491750135e715.tar.lz
cuberite-cca8376a0127a3e1711ed46d7e5491750135e715.tar.xz
cuberite-cca8376a0127a3e1711ed46d7e5491750135e715.tar.zst
cuberite-cca8376a0127a3e1711ed46d7e5491750135e715.zip
Diffstat (limited to 'src/Vector3.h')
-rw-r--r--src/Vector3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Vector3.h b/src/Vector3.h
index 2c79f9ff1..181160ba7 100644
--- a/src/Vector3.h
+++ b/src/Vector3.h
@@ -113,6 +113,11 @@ public:
return Equals(a_Rhs);
}
+ inline bool operator != (const Vector3<T> & a_Rhs) const
+ {
+ return !Equals(a_Rhs);
+ }
+
inline bool operator < (const Vector3<T> & a_Rhs)
{
// return (x < a_Rhs.x) && (y < a_Rhs.y) && (z < a_Rhs.z); ?