Skip to content

Commit 74bb282

Browse files
committed
Reword paragraph for overloaded term "object"
Resolves #384
1 parent 3f77a8f commit 74bb282

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

books/RayTracingInOneWeekend.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,9 +1007,9 @@
10071007

10081008
</div>
10091009

1010-
We'll use shared pointers in our code, because it allows multiple objects to use a common object
1011-
(for example, a bunch of spheres that all use the same material), and because it makes memory
1012-
management automatic and easier to reason about.
1010+
We'll use shared pointers in our code, because it allows multiple geometries to share a common
1011+
instance (for example, a bunch of spheres that all use the same texture map material), and because
1012+
it makes memory management automatic and easier to reason about.
10131013

10141014
`std::shared_ptr` is included with the `<memory>` header.
10151015

0 commit comments

Comments
 (0)