prime/include/Collision/CollisionUtil.hpp

16 lines
431 B
C++
Raw Normal View History

2022-10-13 22:47:30 +00:00
#ifndef _COLLISIONUTIL
#define _COLLISIONUTIL
class CCollisionInfoList;
2022-10-21 00:26:38 +00:00
class CVector3f;
2022-10-13 22:47:30 +00:00
namespace CollisionUtil {
void AddAverageToFront(const CCollisionInfoList& in, CCollisionInfoList& out);
2022-10-21 00:26:38 +00:00
bool TriBoxOverlap(const CVector3f& boxcenter, const CVector3f& boxhalfsize,
const CVector3f& trivert0, const CVector3f& trivert1, const CVector3f& trivert2);
2022-10-13 22:47:30 +00:00
} // namespace CollisionUtil
#endif // _COLLISIONUTIL