diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-05 22:45:45 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-05 22:50:18 +0100 |
commit | ca6ef58b1ee8521e4b940ee4883dee714960e413 (patch) | |
tree | 8532add455224b07c07a759e3d906f50c0695888 /src/Vector3.h | |
parent | Merge pull request #2972 from marvinkopf/PlayerAutoComplete (diff) | |
download | cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.gz cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.bz2 cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.lz cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.xz cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.zst cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Vector3.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Vector3.h b/src/Vector3.h index 900ad65e3..c4b72fd57 100644 --- a/src/Vector3.h +++ b/src/Vector3.h @@ -121,7 +121,7 @@ public: y = Clamp(y, a_Min, a_Max); z = Clamp(z, a_Min, a_Max); } - + inline Vector3<T> Cross(const Vector3<T> & a_Rhs) const { return Vector3<T>( @@ -147,7 +147,7 @@ public: #pragma clang diagnostic pop #endif } - + inline bool EqualsEps(const Vector3<T> & a_Rhs, T a_Eps) const { return (Abs(x - a_Rhs.x) < a_Eps) && (Abs(y - a_Rhs.y) < a_Eps) && (Abs(z - a_Rhs.z) < a_Eps); @@ -236,7 +236,7 @@ public: } // tolua_begin - + inline Vector3<T> operator + (const Vector3<T>& a_Rhs) const { return Vector3<T>( @@ -362,7 +362,7 @@ public: /** Return value of LineCoeffToPlane() if the line is parallel to the plane. */ static const double NO_INTERSECTION; - + protected: /** Returns the absolute value of the given argument. |