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 | #pragma once |
4 | |
5 | #include "BsPhysXPrerequisites.h" |
6 | #include "Physics/BsPlaneCollider.h" |
7 | #include "PxPhysics.h" |
8 | |
9 | namespace bs |
10 | { |
11 | /** @addtogroup PhysX |
12 | * @{ |
13 | */ |
14 | |
15 | /** PhysX implementation of the PlaneCollider. */ |
16 | class PhysXPlaneCollider : public PlaneCollider |
17 | { |
18 | public: |
19 | PhysXPlaneCollider(physx::PxPhysics* physx, physx::PxScene* scene, const Vector3& position, |
20 | const Quaternion& rotation); |
21 | ~PhysXPlaneCollider(); |
22 | |
23 | private: |
24 | /** Returns the PhysX collider implementation common to all colliders. */ |
25 | FPhysXCollider* getInternal() const; |
26 | }; |
27 | |
28 | /** @} */ |
29 | } |