BsVector4.cpp 482 B

1234567891011121314
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "BsVector4.h"
  4. #include "BsMath.h"
  5. namespace BansheeEngine
  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. }