summaryrefslogtreecommitdiffstats
path: root/src/math/Vector.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/math/Vector.h1
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