From 5879ee3f33d07e93b1cc475035c3aa9c8577eeb7 Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 15 Apr 2022 12:33:26 +0800 Subject: Fix bad inclusion cause code not compiling. --- ray.h | 1 + vec.h | 1 + 2 files changed, 2 insertions(+) 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 diff --git a/vec.h b/vec.h index 64eaaca..c7669bf 100644 --- a/vec.h +++ b/vec.h @@ -7,6 +7,7 @@ #include #include +#include static inline bool eq(int a, int b) { return a == b; -- cgit v1.2.3