Revert the canvas size to the one from the chapter

This commit is contained in:
Godzil
2020-02-20 16:13:58 +00:00
parent a477b137e7
commit daef0c078f

View File

@@ -68,7 +68,7 @@ int main()
w.addLight(&light); w.addLight(&light);
/* Set the camera */ /* 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), camera.setTransform(viewTransform(Point(0, 1.5, -5),
Point(0, 1, 0), Point(0, 1, 0),
Vector(0, 1, 0))); Vector(0, 1, 0)));