Browse Source

Cosmetics

Godzil 4 years ago
parent
commit
14c3044acf

+ 1 - 1
source/include/intersect.h

@@ -27,4 +27,4 @@ public:
     Intersection hit();
 };
 
-#endif //DORAYME_INTERSECT_H
+#endif /* DORAYME_INTERSECT_H */

+ 1 - 1
source/include/intersection.h

@@ -42,4 +42,4 @@ public:
     bool operator==(const Intersection &b) const { return ((this->t == b.t) && (this->object == b.object)); };
 };
 
-#endif //DORAYME_INTERSECTION_H
+#endif /* DORAYME_INTERSECTION_H */

+ 1 - 1
source/include/light.h

@@ -33,4 +33,4 @@ public:
                                                    this->type == b.type; };
 };
 
-#endif //DORAYME_LIGHT_H
+#endif /* DORAYME_LIGHT_H */

+ 1 - 1
source/include/material.h

@@ -34,4 +34,4 @@ public:
                                                       (this->colour == b.colour); };
 };
 
-#endif //DORAYME_MATERIAL_H
+#endif /* DORAYME_MATERIAL_H */

+ 1 - 1
source/include/math_helper.h

@@ -17,4 +17,4 @@ bool double_equal(double a, double b);
 
 double deg_to_rad(double deg);
 
-#endif //DORAYME_MATH_HELPER_H
+#endif /* DORAYME_MATH_HELPER_H */

+ 1 - 1
source/include/ray.h

@@ -22,4 +22,4 @@ public:
     Tuple position(double t) { return this->origin + this->direction * t; };
 };
 
-#endif //DORAYME_RAY_H
+#endif /* DORAYME_RAY_H */

+ 1 - 1
source/include/shape.h

@@ -51,4 +51,4 @@ public:
 
 };
 
-#endif //DORAYME_SHAPE_H
+#endif /* DORAYME_SHAPE_H */

+ 1 - 1
source/include/sphere.h

@@ -22,4 +22,4 @@ public:
     virtual Tuple normalAt(Tuple point);
 };
 
-#endif //DORAYME_SPHERE_H
+#endif /* DORAYME_SPHERE_H */

+ 1 - 1
source/include/tuple.h

@@ -57,4 +57,4 @@ public:
     Vector(double x, double y, double z) : Tuple(x, y, z, 0.0) {};
 };
 
-#endif /*DORAYME_TUPLE_H*/
+#endif /* DORAYME_TUPLE_H */

+ 1 - 1
source/include/world.h

@@ -48,4 +48,4 @@ public:
 
 };
 
-#endif //DORAYME_WORLD_H
+#endif /* DORAYME_WORLD_H */

+ 1 - 1
source/include/worldbuilder.h

@@ -26,4 +26,4 @@ public:
     Hw3File(const char *filename);
 };
 
-#endif //DORAYME_WORLDBUILDER_H
+#endif /* DORAYME_WORLDBUILDER_H */