Skip to content

Commit 5b0be6e

Browse files
committed
1 parent 54b6e72 commit 5b0be6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/object-pool.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ the data for the unused particles themselves.
346346
When a particle isn't in use, most of its state is irrelevant. Its position and
347347
velocity aren't being used. The only state it needs is the stuff required to
348348
tell if it's dead. In our example, that's the `_framesLeft` member. All those
349-
other bits can reused. Here's a revised particle:
349+
other bits can be reused. Here's a revised particle:
350350

351351
^code 4
352352

html/object-pool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ <h3><a href="#a-free-list" name="a-free-list">A free list</a></h3>
384384
<p>When a particle isn&#8217;t in use, most of its state is irrelevant. Its position and
385385
velocity aren&#8217;t being used. The only state it needs is the stuff required to
386386
tell if it&#8217;s dead. In our example, that&#8217;s the <code>_framesLeft</code> member. All those
387-
other bits can reused. Here&#8217;s a revised particle:</p>
387+
other bits can be reused. Here&#8217;s a revised particle:</p>
388388
<div class="codehilite"><pre><span class="k">class</span> <span class="nc">Particle</span>
389389
<span class="p">{</span>
390390
<span class="nl">public:</span>

0 commit comments

Comments
 (0)