| 1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
|---|---|
| 2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
| 3 | #include "Physics/BsSphereCollider.h" |
| 4 | #include "Physics/BsPhysics.h" |
| 5 | |
| 6 | namespace bs |
| 7 | { |
| 8 | SPtr<SphereCollider> SphereCollider::create(PhysicsScene& scene, float radius, const Vector3& position, |
| 9 | const Quaternion& rotation) |
| 10 | { |
| 11 | return scene.createSphereCollider(radius, position, rotation); |
| 12 | } |
| 13 | } |