Files
axyz/include/Engine/Core/Collision.h
T
2015-12-07 16:00:34 +01:00

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