diff options
author | Keuin <[email protected]> | 2022-04-11 21:32:31 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-04-11 21:32:31 +0800 |
commit | d10ff99fc9bee538ebc7da23ba2f8b476ef151e1 (patch) | |
tree | d9e4ee72127c6f1129eaa458f90045385dd4a610 | |
parent | 32f44d39f01b62a51db177b6f3004ee0b835188d (diff) |
Fix vec.h multiple inclusion.
-rw-r--r-- | vec.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |