瀏覽代碼

Revert the canvas size to the one from the chapter

Godzil 4 年之前
父節點
當前提交
daef0c078f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)));