| 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/BsBoxCollider.h" | 
| 4 | #include "Physics/BsPhysics.h" | 
| 5 | |
| 6 | namespace bs | 
| 7 | { | 
| 8 | SPtr<BoxCollider> BoxCollider::create(PhysicsScene& scene, const Vector3& extents, | 
| 9 | const Vector3& position, const Quaternion& rotation) | 
| 10 | { | 
| 11 | return scene.createBoxCollider(extents, position, rotation); | 
| 12 | } | 
| 13 | } | 
