diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-05-10 14:15:13 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-05-10 14:15:13 +0200 |
commit | 1cb1347c53c7482883dcc2eb047f8fe798a12481 (patch) | |
tree | be616a3c3b2db083b2f3908220818231778609ef /src/Vector3.h | |
parent | Merge pull request #1985 from SafwatHalaby/lessPathCalcs (diff) | |
parent | Merge remote-tracking branch 'origin/master' into warnings (diff) | |
download | cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.gz cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.bz2 cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.lz cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.xz cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.zst cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.zip |
Diffstat (limited to 'src/Vector3.h')
-rw-r--r-- | src/Vector3.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Vector3.h b/src/Vector3.h index f051ce2d2..346bc1bbb 100644 --- a/src/Vector3.h +++ b/src/Vector3.h @@ -81,14 +81,14 @@ public: inline bool HasNonZeroLength(void) const { #ifdef __clang__ - #pragma clang diagnostic push - #pragma clang diagnostic ignored "-Wfloat-equal" + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wfloat-equal" #endif return ((x != 0) || (y != 0) || (z != 0)); #ifdef __clang__ - #pragma clang diagnostic pop + #pragma clang diagnostic pop #endif } @@ -137,14 +137,14 @@ public: // To perform EPS-based comparison, use the EqualsEps() function #ifdef __clang__ - #pragma clang diagnostic push - #pragma clang diagnostic ignored "-Wfloat-equal" + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wfloat-equal" #endif return !((x != a_Rhs.x) || (y != a_Rhs.y) || (z != a_Rhs.z)); #ifdef __clang__ - #pragma clang diagnostic pop + #pragma clang diagnostic pop #endif } |