equal
  deleted
  inserted
  replaced
  
    
    
     1 Classes  | 
         | 
     2 -------  | 
         | 
     3   | 
         | 
     4 vector.h -- vector of three scalars, also used for colour  | 
         | 
     5 matrix.h -- matrix class, currently not used  | 
         | 
     6 quaternion.h -- quaternion class for camera rotation  | 
         | 
     7   | 
         | 
     8 container.h  -- container for shapes, base class for octree and kd-tree  | 
         | 
     9 octree.h -- Octree space subdivision structure for acceleration of ray-shape intersection search  | 
         | 
    10 kdtree.h  -- KdTree space subdivision structure  | 
         | 
    11   | 
         | 
    12 scene.h -- scene objects: Ray, Light, Camera and shapes  | 
         | 
    13 raytracer.h -- ray tracer class  | 
         | 
    14 common.h -- Float definition (float/double) and some helper functions  | 
         | 
    15   | 
         | 
    16   | 
         | 
    17 Container Usage  | 
     1 Container Usage  | 
    18 ---------------  | 
     2 ---------------  | 
    19 (Container|Octree|KdTree) top;  | 
     3 (Container|Octree|KdTree) top;  | 
    20 scene.setTop(top)  // top object in hierarchy  | 
     4 scene.setTop(top)  // top object in hierarchy  | 
    21 top.optimize()     // build optimization structure  | 
     5 top.optimize()     // build optimization structure  |