17 lines
340 B
C++
17 lines
340 B
C++
#ifndef Collision_h__
|
|
#define Collision_h__
|
|
|
|
#include "Core/Ray.h"
|
|
#include "Core/AABB.h"
|
|
|
|
namespace Collision
|
|
{
|
|
|
|
bool RayAABBIntr(const Ray& ray, const AABB& box);
|
|
bool RayVsAABB(const Ray& ray, const AABB& box);
|
|
bool RayVsAABB(const Ray& ray, const AABB& box, float& outDistance);
|
|
|
|
bool AABBVsAABB(const AABB& a, const AABB& b);
|
|
}
|
|
|
|
#endif |