Package toxi.physics3d.constraints
Class SoftBoxConstraint
java.lang.Object
toxi.physics3d.constraints.SoftBoxConstraint
- All Implemented Interfaces:
ParticleConstraint3D
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies the constraint to the passed in particle.
-
Field Details
-
box
-
axes
-
smooth
public float smooth
-
-
Constructor Details
-
SoftBoxConstraint
-
-
Method Details
-
addAxis
-
apply
Description copied from interface:ParticleConstraint3D
Applies the constraint to the passed in particle. The method is assumed to manipulate the given instance directly.- Specified by:
apply
in interfaceParticleConstraint3D
- Parameters:
p
- particle
-