diff options
-rw-r--r-- | ray.h | 1 | ||||
-rw-r--r-- | vec.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,7 @@ #define RT_RAY_H #include "vec.h" +#include "bitmap.h" // A ray is a half-line, starts from a 3d point, along the direction of a unit vector, to the infinity template<typename T> @@ -7,6 +7,7 @@ #include <cmath> #include <random> +#include <ostream> static inline bool eq(int a, int b) { return a == b; |