summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--material.h1
-rw-r--r--material_diffusive.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/material.h b/material.h
index b839cc9..adb2b69 100644
--- a/material.h
+++ b/material.h
@@ -5,6 +5,7 @@
#ifndef RT_MATERIAL_H
#define RT_MATERIAL_H
+#include "vec.h"
#include "object.h"
class object;
diff --git a/material_diffusive.cpp b/material_diffusive.cpp
index b312246..2a554d0 100644
--- a/material_diffusive.cpp
+++ b/material_diffusive.cpp
@@ -2,6 +2,7 @@
// Created by Keuin on 2022/4/15.
//
+#include "vec.h"
#include "material.h"