work on raytracing
This commit is contained in:
21
geo/volume/BVH.h
Normal file
21
geo/volume/BVH.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef BOUNDINGVOLUMEHIERARCHY_H
|
||||
#define BOUNDINGVOLUMEHIERARCHY_H
|
||||
|
||||
#include "BoundingVolume.h"
|
||||
#include "BoundingVolumeAABB.h"
|
||||
#include "BoundingVolumeSphere.h"
|
||||
|
||||
class BVH {
|
||||
|
||||
public:
|
||||
|
||||
/** add a new volume to the tree */
|
||||
void add(BoundingVolume* bv) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // BOUNDINGVOLUMEHIERARCHY_H
|
||||
Reference in New Issue
Block a user