aboutsummaryrefslogtreecommitdiff
path: root/vec3.h
diff options
context:
space:
mode:
Diffstat (limited to 'vec3.h')
-rw-r--r--vec3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vec3.h b/vec3.h
index 1f01098..abfc6c3 100644
--- a/vec3.h
+++ b/vec3.h
@@ -1,3 +1,5 @@
+#ifndef VEC3_H
+#define VEC3_H
#include <iostream>
class vec3 {
public:
@@ -25,3 +27,4 @@ class vec3 {
};
std::ostream &operator<<(std::ostream &output, const vec3 &v);
+#endif