Browse Source

Revert the canvas size to the one from the chapter

Godzil 4 years ago
parent
commit
daef0c078f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/ch7_test.cpp

+ 1 - 1
tests/ch7_test.cpp

@@ -68,7 +68,7 @@ int main()
     w.addLight(&light);
 
     /* Set the camera */
-    Camera camera = Camera(1000, 500, M_PI / 3);
+    Camera camera = Camera(100, 50, M_PI / 3);
     camera.setTransform(viewTransform(Point(0, 1.5, -5),
                                       Point(0, 1, 0),
                                       Vector(0, 1, 0)));