From 14c3044acf4e8a3b6cd75a84d14ce82f0d483c8f Mon Sep 17 00:00:00 2001 From: Godzil Date: Thu, 20 Feb 2020 13:27:12 +0000 Subject: [PATCH] Cosmetics --- source/include/intersect.h | 2 +- source/include/intersection.h | 2 +- source/include/light.h | 2 +- source/include/material.h | 2 +- source/include/math_helper.h | 2 +- source/include/ray.h | 2 +- source/include/shape.h | 2 +- source/include/sphere.h | 2 +- source/include/tuple.h | 2 +- source/include/world.h | 2 +- source/include/worldbuilder.h | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/source/include/intersect.h b/source/include/intersect.h index a4fa944..52d2686 100644 --- a/source/include/intersect.h +++ b/source/include/intersect.h @@ -27,4 +27,4 @@ public: Intersection hit(); }; -#endif //DORAYME_INTERSECT_H +#endif /* DORAYME_INTERSECT_H */ diff --git a/source/include/intersection.h b/source/include/intersection.h index ae7de5e..cee7c2c 100644 --- a/source/include/intersection.h +++ b/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 */ diff --git a/source/include/light.h b/source/include/light.h index c83ae34..b83fc29 100644 --- a/source/include/light.h +++ b/source/include/light.h @@ -33,4 +33,4 @@ public: this->type == b.type; }; }; -#endif //DORAYME_LIGHT_H +#endif /* DORAYME_LIGHT_H */ diff --git a/source/include/material.h b/source/include/material.h index c8fc6f3..8ff0d44 100644 --- a/source/include/material.h +++ b/source/include/material.h @@ -34,4 +34,4 @@ public: (this->colour == b.colour); }; }; -#endif //DORAYME_MATERIAL_H +#endif /* DORAYME_MATERIAL_H */ diff --git a/source/include/math_helper.h b/source/include/math_helper.h index cbc4d66..1e386b3 100644 --- a/source/include/math_helper.h +++ b/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 */ diff --git a/source/include/ray.h b/source/include/ray.h index f962e53..59f52e3 100644 --- a/source/include/ray.h +++ b/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 */ diff --git a/source/include/shape.h b/source/include/shape.h index ba0fa09..a2874ad 100644 --- a/source/include/shape.h +++ b/source/include/shape.h @@ -51,4 +51,4 @@ public: }; -#endif //DORAYME_SHAPE_H +#endif /* DORAYME_SHAPE_H */ diff --git a/source/include/sphere.h b/source/include/sphere.h index 23df51c..d94026c 100644 --- a/source/include/sphere.h +++ b/source/include/sphere.h @@ -22,4 +22,4 @@ public: virtual Tuple normalAt(Tuple point); }; -#endif //DORAYME_SPHERE_H +#endif /* DORAYME_SPHERE_H */ diff --git a/source/include/tuple.h b/source/include/tuple.h index 88967eb..c9ab49e 100644 --- a/source/include/tuple.h +++ b/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 */ diff --git a/source/include/world.h b/source/include/world.h index 02e92a6..9c1697e 100644 --- a/source/include/world.h +++ b/source/include/world.h @@ -48,4 +48,4 @@ public: }; -#endif //DORAYME_WORLD_H +#endif /* DORAYME_WORLD_H */ diff --git a/source/include/worldbuilder.h b/source/include/worldbuilder.h index 39aa7f6..cc2755c 100644 --- a/source/include/worldbuilder.h +++ b/source/include/worldbuilder.h @@ -26,4 +26,4 @@ public: Hw3File(const char *filename); }; -#endif //DORAYME_WORLDBUILDER_H +#endif /* DORAYME_WORLDBUILDER_H */