diff options
author | Mattes D <github@xoft.cz> | 2014-04-17 22:37:00 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-04-17 22:37:00 +0200 |
commit | b7e074b10b1d133b5ca33e00c84b75d4fb817354 (patch) | |
tree | adc938af1f651968871f2e43f4801d6b69c7fc41 /src/Vector3.h | |
parent | Added area flooring. (diff) | |
parent | Compile fix? (diff) | |
download | cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.gz cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.bz2 cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.lz cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.xz cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.zst cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Vector3.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Vector3.h b/src/Vector3.h index a00e14508..2c79f9ff1 100644 --- a/src/Vector3.h +++ b/src/Vector3.h @@ -108,6 +108,11 @@ public: return x == a_Rhs.x && y == a_Rhs.y && z == a_Rhs.z; } + 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); ? |