Skip to content
Snippets Groups Projects
Commit ac4abf5c authored by Yoel's avatar Yoel
Browse files

Inclusion hierarchy fixed

parent 33d31eaa
No related branches found
No related tags found
No related merge requests found
#pragma once #pragma once
#include "../material/Material.h" #include "../material/Material.h"
#include "../tools/Vec3.h"
#include "Ray.h" #include "Ray.h"
namespace cam { namespace cam {
......
#include "DiffuseMaterial.h" #include "DiffuseMaterial.h"
#include "../tools/Vec3.h"
#include "texture/Constant.h" #include "texture/Constant.h"
namespace material { namespace material {
......
#pragma once #pragma once
#include "../sampling/Sampler.h"
#include "Material.h" #include "Material.h"
#include "texture/Constant.h"
namespace material { namespace material {
class DiffuseMaterial : public Material { class DiffuseMaterial : public Material {
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <random> #include <random>
#include "../sampling/Sampler.h" #include "../sampling/Sampler.h"
#include "../tools/Vec3.h"
namespace material { namespace material {
......
#pragma once #pragma once
#include "../../sampling/Sampler.h" #include "../../sampling/Sampler.h"
#include "../../tools/Vec3.h"
namespace material { namespace material {
class Constant : public util::Sampler { class Constant : public util::Sampler {
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <vector> #include <vector>
#include "../camera/CamObs.h" #include "../camera/CamObs.h"
#include "../tools/Vec3.h"
#include "Sampler.h" #include "Sampler.h"
namespace util { namespace util {
......
#pragma once #pragma once
#include "../camera/CamObs.h" #include "../camera/CamObs.h"
#include "../camera/Ray.h" #include "../shape/Shape.h"
#include "../shape/Group.h"
#include "../tools/Vec3.h"
#include "Sampler.h" #include "Sampler.h"
class Scene : public util::Sampler { class Scene : public util::Sampler {
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
#include <vector> #include <vector>
#include "../camera/Hit.h"
#include "../camera/Ray.h"
#include "../tools/Mat4.h" #include "../tools/Mat4.h"
#include "../tools/Transformation.h" #include "../tools/Transformation.h"
#include "Shape.h" #include "Shape.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include "../camera/Hit.h" #include "../camera/Hit.h"
#include "../camera/Ray.h" #include "../camera/Ray.h"
#include "../tools/AxisAlignedBoundingBox.h"
namespace shapes { namespace shapes {
class Shape { class Shape {
......
#include "Mat4.h" #include "Mat4.h"
#define _USE_MATH_DEFINES
#include <math.h>
namespace util { namespace util {
// Constructor // Constructor
Mat4::Mat4(std::array<float, 16> arr) : arr(arr){}; Mat4::Mat4(std::array<float, 16> arr) : arr(arr){};
......
#pragma once #pragma once
#define _USE_MATH_DEFINES
#include <math.h>
#include <array> #include <array>
#include "Vec3.h" #include "Vec3.h"
......
#include "Threadpool.h" #include "Threadpool.h"
#include <thread>
namespace util { namespace util {
Threadpool::Threadpool(size_t n) : alive(true) { Threadpool::Threadpool(size_t n) : alive(true) {
......
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
#include <condition_variable> #include <condition_variable>
#include <functional> #include <functional>
#include <iostream>
#include <mutex> #include <mutex>
#include <queue> #include <queue>
#include <thread>
namespace util { namespace util {
......
#pragma once #pragma once
#include <array> #include <array>
#include <cassert>
#include <iostream> #include <iostream>
namespace util { namespace util {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment