yrryr567yry567

This commit is contained in:
verysecrethero
2015-12-02 15:03:55 +01:00
parent c698149bdd
commit fd99562c7a
3 changed files with 44 additions and 0 deletions
+3
View File
@@ -2,11 +2,13 @@
#define Collision_h__
#include "../GLM.h"
#include <algorithm>
namespace Collision
{
struct Ray
{
public:
glm::vec3 Origin;
glm::vec3 Direction;
};
@@ -29,6 +31,7 @@ private:
};
bool RayAABBIntr(const Ray& ray, const AABB& box);
bool RayVsAABB(const Ray& ray, const AABB& box);
}
#endif