2
0

BsVector4.cpp 481 B

1234567891011121314
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "Math/BsVector4.h"
  4. #include "Math/BsMath.h"
  5. namespace bs
  6. {
  7. const Vector4 Vector4::ZERO(0, 0, 0, 0);
  8. bool Vector4::isNaN() const
  9. {
  10. return Math::isNaN(x) || Math::isNaN(y) || Math::isNaN(z) || Math::isNaN(w);
  11. }
  12. }