From d10ff99fc9bee538ebc7da23ba2f8b476ef151e1 Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 11 Apr 2022 21:32:31 +0800 Subject: Fix vec.h multiple inclusion. --- vec.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vec.h') 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 static inline bool eq(int a, int b) { @@ -116,3 +119,5 @@ using vec3f = vec3; // 3-dim vector (double) using vec3d = vec3; + +#endif //RT_VEC_H \ No newline at end of file -- cgit v1.2.3