diff options
author | aap <aap@papnet.eu> | 2019-05-19 21:28:10 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-05-19 21:28:10 +0200 |
commit | c4f9b9573f1535d3297946fbb5c73393594ffa24 (patch) | |
tree | 47acb1934d86d3ab220035258a2345f526c9b922 /src/math/Vector.h | |
parent | more work on CPhysical (diff) | |
download | re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.gz re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.bz2 re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.lz re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.xz re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.zst re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.zip |
Diffstat (limited to '')
-rw-r--r-- | src/math/Vector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/Vector.h b/src/math/Vector.h index 98c3f0ec..fbc59832 100644 --- a/src/math/Vector.h +++ b/src/math/Vector.h @@ -64,6 +64,7 @@ public: this->z /= t; return *this; } + bool IsZero(void) { return x == 0.0f && y == 0.0f && z == 0.0f; } }; inline float |