Package arc.math.geom

Class Spring1D

java.lang.Object
arc.math.geom.Spring1D

public class Spring1D extends Object
  • Field Details

    • value

      public float value
    • target

      public float target
    • velocity

      public float velocity
    • damping

      public float damping
    • frequency

      public float frequency
  • Constructor Details

    • Spring1D

      public Spring1D(float damping, float frequency)
  • Method Details

    • update

      public void update(float deltaTime)