Fixed wrong paths and added an outDistance to RayVsAABB.

This commit is contained in:
William Moberg
2015-12-03 17:24:53 +01:00
parent abb61d2cd6
commit af5b3a9302
4 changed files with 18 additions and 8 deletions
+2 -1
View File
@@ -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