src/raytracer.h
branchpyrit
changeset 7 bf17f9f84c91
parent 5 2d97ea5e711a
child 10 f9fad94cd0cc
equal deleted inserted replaced
6:d8d596d26f25 7:bf17f9f84c91
     8 #ifndef RAYTRACER_H
     8 #ifndef RAYTRACER_H
     9 #define RAYTRACER_H
     9 #define RAYTRACER_H
    10 
    10 
    11 #include <vector>
    11 #include <vector>
    12 
    12 
       
    13 #include "kdtree.h"
    13 #include "scene.h"
    14 #include "scene.h"
    14 
    15 
    15 using namespace std;
    16 using namespace std;
    16 
       
    17 /* axis-aligned bounding box */
       
    18 class AABB
       
    19 {
       
    20 };
       
    21 
       
    22 class ShapeList: public vector<Shape*>
       
    23 {
       
    24 	AABB extends() { return AABB(); };
       
    25 };
       
    26 
    17 
    27 class Raytracer;
    18 class Raytracer;
    28 struct RenderrowData {
    19 struct RenderrowData {
    29 	Raytracer *rt;
    20 	Raytracer *rt;
    30 	int w;
    21 	int w;