1 #ifndef RADIX_PHYSICS_HELPER_HPP
2 #define RADIX_PHYSICS_HELPER_HPP
4 #include <bullet/LinearMath/btVector3.h>
5 #include <bullet/BulletCollision/Gimpact/btBoxCollision.h>
6 #include <bullet/BulletCollision/CollisionDispatch/btCollisionObject.h>
7 #include <bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h>
19 btScalar
addSingleResult(btManifoldPoint&,
const btCollisionObjectWrapper*,
int,
int,
20 const btCollisionObjectWrapper*,
int,
int) {
26 static bool pointInAABB(
const btVector3 &p,
const btVector3 &min,
const btVector3 &max);
27 static inline bool pointInAABB(
const btVector3 &p,
const btAABB &aabb) {
31 static bool pointInVolume(
const btVector3&,
const btCollisionObject&);
32 static inline bool pointInVolume(
const btVector3 &v,
const btCollisionObject *o) {
Definition: GameController.hpp:7
Definition: PhysicsHelper.hpp:11
static bool pointInVolume(const btVector3 &, const btCollisionObject &)
Definition: PhysicsHelper.cpp:14
static bool pointInAABB(const btVector3 &p, const btVector3 &min, const btVector3 &max)
Definition: PhysicsHelper.cpp:8
static bool pointInAABB(const btVector3 &p, const btAABB &aabb)
Definition: PhysicsHelper.hpp:27
static bool pointInVolume(const btVector3 &v, const btCollisionObject *o)
Definition: PhysicsHelper.hpp:32