1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
---|---|
2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
3 | #include "Math/BsVector4.h" |
4 | #include "Math/BsMath.h" |
5 | |
6 | namespace bs |
7 | { |
8 | const Vector4 Vector4::ZERO{BS_ZERO()}; |
9 | |
10 | bool Vector4::isNaN() const |
11 | { |
12 | return Math::isNaN(x) || Math::isNaN(y) || Math::isNaN(z) || Math::isNaN(w); |
13 | } |
14 | } |
15 |