public class VelocityTerm extends Object implements Term
VelocityTerm is used to determine the new velocity of a
Particle.| Constructor and Description |
|---|
VelocityTerm(Rand random)
Constructs a
VelocityTerm. |
| Modifier and Type | Method and Description |
|---|---|
double |
calculate(double... values)
Calculates the result of this
Term. |
void |
randomize()
Randomizes the constants of the term.
|
public VelocityTerm(Rand random)
VelocityTerm.random - the random number generator