BsBoxCollider.cpp 568 B

12345678910111213141516
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "Physics/BsBoxCollider.h"
  4. #include "Physics/BsPhysics.h"
  5. namespace bs
  6. {
  7. BoxCollider::BoxCollider()
  8. { }
  9. SPtr<BoxCollider> BoxCollider::create(const Vector3& extents,
  10. const Vector3& position, const Quaternion& rotation)
  11. {
  12. return Physics::instance().createBoxCollider(extents, position, rotation);
  13. }
  14. }