BsPlaneCollider.cpp 540 B

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