summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vec.h b/vec.h
index ad5f727..da7abeb 100644
--- a/vec.h
+++ b/vec.h
@@ -2,6 +2,9 @@
// Created by Keuin on 2022/4/11.
//
+#ifndef RT_VEC_H
+#define RT_VEC_H
+
#include <cmath>
static inline bool eq(int a, int b) {
@@ -116,3 +119,5 @@ using vec3f = vec3<float>;
// 3-dim vector (double)
using vec3d = vec3<double>;
+
+#endif //RT_VEC_H \ No newline at end of file