Made Ray into a class with checks so the direction will always be normalized.

This commit is contained in:
William Moberg
2015-12-17 13:41:34 +01:00
parent 03d5f0dd67
commit 5160a45b44
8 changed files with 66 additions and 57 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "Core/AABB.h"
struct Ray;
class Ray;
class World;
class Camera;