Skip to content

Commit

Permalink
Merge pull request #19 from unitfloat/master
Browse files Browse the repository at this point in the history
Fix comment that referenced ParticleApplyLinearImpulse
  • Loading branch information
jsanmiya committed Jun 28, 2014
2 parents 6239b2f + 1aa1641 commit 10a48a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions liquidfun/Box2D/Box2D/Particle/b2ParticleSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,9 @@ class b2ParticleSystem
/// Apply an impulse to all particles between 'firstIndex' and 'lastIndex'.
/// This immediately modifies the velocity. Note that the impulse is
/// applied to the total mass of all particles. So, calling
/// ApplyLinearImpulse(0, impulse) and ApplyLinearImpulse(1, impulse) will
/// impart twice as much velocity as calling just
/// ApplyLinearImpulse(0, 1, impulse).
/// ParticleApplyLinearImpulse(0, impulse) and
/// ParticleApplyLinearImpulse(1, impulse) will impart twice as much
/// velocity as calling just ApplyLinearImpulse(0, 1, impulse).
/// @param firstIndex the first particle to be modified.
/// @param lastIndex the last particle to be modified.
/// @param impulse the world impulse vector, usually in N-seconds or
Expand All @@ -512,7 +512,7 @@ class b2ParticleSystem
/// Distribute a force across several particles. The particles must not be
/// wall particles. Note that the force is distributed across all the
/// particles, so calling this function for indices 0..N is not the same as
/// calling ApplyForce(i, force) for i in 0..N.
/// calling ParticleApplyForce(i, force) for i in 0..N.
/// @param firstIndex the first particle to be modified.
/// @param lastIndex the last particle to be modified.
/// @param force the world force vector, usually in Newtons (N).
Expand Down

0 comments on commit 10a48a0

Please sign in to comment.