summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ray.h1
-rw-r--r--vec.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/ray.h b/ray.h
index 4d5401c..51a3da1 100644
--- a/ray.h
+++ b/ray.h
@@ -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>
diff --git a/vec.h b/vec.h
index 64eaaca..c7669bf 100644
--- a/vec.h
+++ b/vec.h
@@ -7,6 +7,7 @@
#include <cmath>
#include <random>
+#include <ostream>
static inline bool eq(int a, int b) {
return a == b;