BsSphereCollider.cpp 573 B

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