diff options
author | Keuin <[email protected]> | 2022-04-15 12:33:26 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-04-15 12:33:26 +0800 |
commit | 5879ee3f33d07e93b1cc475035c3aa9c8577eeb7 (patch) | |
tree | 05b88a810170b5d24a42cc558f6a9502ca0572d1 | |
parent | 4193adbbff4a5b633f59f88367fe1b74aec7789b (diff) |
Fix bad inclusion cause code not compiling.
-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; |