BsPhysXPlaneCollider.h 791 B

12345678910111213141516171819202122232425262728
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsPhysXPrerequisites.h"
  5. #include "Physics/BsPlaneCollider.h"
  6. #include "PxPhysics.h"
  7. namespace bs
  8. {
  9. /** @addtogroup PhysX
  10. * @{
  11. */
  12. /** PhysX implementation of the PlaneCollider. */
  13. class PhysXPlaneCollider : public PlaneCollider
  14. {
  15. public:
  16. PhysXPlaneCollider(physx::PxPhysics* physx, const Vector3& position, const Quaternion& rotation);
  17. ~PhysXPlaneCollider();
  18. private:
  19. /** Returns the PhysX collider implementation common to all colliders. */
  20. FPhysXCollider* getInternal() const;
  21. };
  22. /** @} */
  23. }