diff --git a/source/include/object.h b/source/include/shape.h similarity index 92% rename from source/include/object.h rename to source/include/shape.h index 8d5b39c..8ad3fa1 100644 --- a/source/include/object.h +++ b/source/include/shape.h @@ -6,8 +6,8 @@ * Copyright (c) 2020 986-Studio. * */ -#ifndef DORAYME_OBJECT_H -#define DORAYME_OBJECT_H +#ifndef DORAYME_SHAPE_H +#define DORAYME_SHAPE_H class Shape; @@ -37,4 +37,4 @@ public: Ray invTransform(Ray r) { return Ray(this->inverseTransform * r.origin, this->inverseTransform * r.direction); }; }; -#endif //DORAYME_OBJECT_H +#endif //DORAYME_SHAPE_H diff --git a/source/include/sphere.h b/source/include/sphere.h index 66a8313..a1d4ccc 100644 --- a/source/include/sphere.h +++ b/source/include/sphere.h @@ -9,7 +9,7 @@ #ifndef DORAYME_SPHERE_H #define DORAYME_SPHERE_H -#include +#include #include #include diff --git a/source/shapes/object.cpp b/source/shapes/shape.cpp similarity index 96% rename from source/shapes/object.cpp rename to source/shapes/shape.cpp index 1d4427d..078e11d 100644 --- a/source/shapes/object.cpp +++ b/source/shapes/shape.cpp @@ -8,7 +8,7 @@ */ #include -#include +#include #include #include #include diff --git a/tests/ray_test.cpp b/tests/ray_test.cpp index d2ea997..2b94f9b 100644 --- a/tests/ray_test.cpp +++ b/tests/ray_test.cpp @@ -8,7 +8,7 @@ */ #include #include -#include +#include #include