abb61d2cd6
# Conflicts: # include/Engine/Core/Collision.h # src/Engine/Core/Collision.cpp
15 lines
244 B
C++
15 lines
244 B
C++
#ifndef Collision_h__
|
|
#define Collision_h__
|
|
|
|
#include "Core/Ray.h"
|
|
#include "Core/AABB.h"
|
|
#include <algorithm>
|
|
|
|
namespace Collision
|
|
{
|
|
|
|
bool RayAABBIntr(const Ray& ray, const AABB& box);
|
|
bool RayVsAABB(const Ray& ray, const AABB& box);
|
|
}
|
|
|
|
#endif |