Fixed wrong paths and added an outDistance to RayVsAABB.
This commit is contained in:
@@ -3,13 +3,14 @@
|
||||
|
||||
#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);
|
||||
bool RayVsAABB(const Ray& ray, const AABB& box, float& outDistance);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user