Sample scene for CSG \o/

This commit is contained in:
Godzil
2020-03-06 21:55:32 +00:00
parent b5ee92c544
commit 57eff4830e
15 changed files with 147 additions and 72 deletions

View File

@@ -54,7 +54,7 @@ int main()
Plane p4 = Plane();
p3.setTransform(translation(6, 0, 0) * rotationZ(M_PI/2) );
p3.material.pattern = new CheckersPattern(Colour(1, 1, 1), Colour(0.1, 0.1, 0.1));
w.addObject(&p3);
w.addObject(&p4);
Plane p5 = Plane();
p5.material.pattern = new CheckersPattern(Colour(1, 1, 1), Colour(0.1, 0.1, 0.1));