Click or drag to resize
ParticleBounceOff Method
Updates the velocities of this particle and the specified particle according to the laws of elastic collision. Assumes that the particles are colliding at this instant.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void BounceOff(
	Particle that
)

Parameters

that
Type: Algs4NetParticle
the other particle
See Also