Interface ParticleBehavior3D

All Known Implementing Classes:
AttractionBehavior3D, ConstantForceBehavior3D, GravityBehavior3D

public interface ParticleBehavior3D
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies the constraint to the passed in particle.
    void
    configure(float timeStep)
     
  • Method Details

    • apply

      void apply(VerletParticle3D p)
      Applies the constraint to the passed in particle. The method is assumed to manipulate the given instance directly.
      Parameters:
      p - particle
    • configure

      void configure(float timeStep)