ParticleBounceOffHorizontalWall Method |
Updates the velocity of this particle upon collision with a horizontal
wall (by reflecting the velocity in the Y-direction).
Assumes that the particle is colliding with a horizontal wall at this instant.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void BounceOffHorizontalWall()
See Also