Package toxi.physics2d.constraints
Class MinConstraint
java.lang.Object
toxi.physics2d.constraints.MinConstraint
- All Implemented Interfaces:
ParticleConstraint2D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies the constraint to the passed in particle.
-
Field Details
-
axis
-
threshold
public float threshold
-
-
Constructor Details
-
MinConstraint
-
-
Method Details
-
apply
Description copied from interface:ParticleConstraint2DApplies the constraint to the passed in particle. The method is assumed to manipulate the given instance directly.- Specified by:
applyin interfaceParticleConstraint2D- Parameters:
p- particle
-