Adding BVH optimisation.

This commit is contained in:
Godzil
2020-03-12 07:21:44 +00:00
parent 47e31714f3
commit 7a43a98816
4 changed files with 155 additions and 0 deletions

View File

@@ -89,6 +89,9 @@ int main()
/* ----------------------------- */
BVHOptimisation opt;
w.finalise(opt);
/* Set the camera */
Camera camera = Camera(80, 40, M_PI/2);
camera.setTransform(viewTransform(Point(0, 7, 13),