Renaming Object to Shape (part 2)
This commit is contained in:
@@ -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
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef DORAYME_SPHERE_H
|
||||
#define DORAYME_SPHERE_H
|
||||
|
||||
#include <object.h>
|
||||
#include <shape.h>
|
||||
#include <ray.h>
|
||||
#include <intersect.h>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <ray.h>
|
||||
#include <object.h>
|
||||
#include <shape.h>
|
||||
#include <matrix.h>
|
||||
#include <tuple.h>
|
||||
#include <intersect.h>
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
#include <ray.h>
|
||||
#include <transformation.h>
|
||||
#include <object.h>
|
||||
#include <shape.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user