Click or drag to resize
ParticleBounceOffVerticalWall Method
Updates the velocity of this particle upon collision with a vertical wall (by reflecting the velocity in the X-direction). Assumes that the particle is colliding with a vertical wall at this instant.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void BounceOffVerticalWall()
See Also