16 lines
293 B
C++
16 lines
293 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);
|
|
|
|
}
|
|
|
|
#endif |