29#ifndef GU_INTERSECTION_BOX_BOX_H
30#define GU_INTERSECTION_BOX_BOX_H
32#include "foundation/PxMat33.h"
33#include "foundation/PxBounds3.h"
40 PX_PHYSX_COMMON_API
bool intersectOBBOBB(
const PxVec3& e0,
const PxVec3& c0,
const PxMat33& r0,
const PxVec3& e1,
const PxVec3& c1,
const PxMat33& r1,
bool full_test);
42 PX_FORCE_INLINE bool intersectOBBAABB(
const Gu::Box& obb,
const PxBounds3& aabb)
44 PxVec3 center = aabb.getCenter();
45 PxVec3 extents = aabb.getExtents();
46 return intersectOBBOBB(obb.extents, obb.center, obb.rot, extents, center, PxMat33(PxIdentity),
true);
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39