|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoxi.physics2d.constraints.MaxConstraint
public class MaxConstraint
Field Summary | |
---|---|
toxi.geom.Vec2D.Axis |
axis
|
float |
threshold
|
Constructor Summary | |
---|---|
MaxConstraint(toxi.geom.Vec2D.Axis axis,
float threshold)
|
Method Summary | |
---|---|
void |
apply(VerletParticle2D p)
Applies the constraint to the passed in particle. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public toxi.geom.Vec2D.Axis axis
public float threshold
Constructor Detail |
---|
public MaxConstraint(toxi.geom.Vec2D.Axis axis, float threshold)
Method Detail |
---|
public void apply(VerletParticle2D p)
ParticleConstraint2D
apply
in interface ParticleConstraint2D
p
- particle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |