work on raytracing

This commit is contained in:
2017-09-06 08:34:20 +02:00
parent c21925e86f
commit e4cd9c6b8d
32 changed files with 2790 additions and 3 deletions

21
geo/volume/BVH.h Normal file
View 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