Files
axyz/include/Engine/Core/Collision.h
T
2015-12-07 15:59:41 +01:00

18 lines
390 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);
bool AABBVsAABBTst(const AABB& a, const AABB& b);
}
#endif