Skip to content

Commit a55e78e

Browse files
committed
Fix typo in book1 listing [scene-wide-angle]
Resolves #368
1 parent 7f410b6 commit a55e78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

books/RayTracingInOneWeekend.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2382,7 +2382,7 @@
23822382
auto R = cos(pi/4);
23832383
hittable_list world;
23842384
world.add(make_shared<sphere>(vec3(-R,0,-1), R, make_shared<lambertian>(vec3(0, 0, 1))));
2385-
world.add(make_shared<sphere(>vec3( R,0,-1), R, make_shared<lambertian>(vec3(1, 0, 0))));
2385+
world.add(make_shared<sphere>(vec3( R,0,-1), R, make_shared<lambertian>(vec3(1, 0, 0))));
23862386
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23872387
[Listing [scene-wide-angle]: <kbd>[main.cc]</kbd> Scene with wide-angle camera]
23882388

0 commit comments

Comments
 (0)