public class SpringConfig extends Object
This code was forked from the facebook/rebound repository.
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_FRICTION |
static double |
DEFAULT_TENSION |
static SpringConfig |
defaultConfig |
double |
friction |
static SpringConfig |
noOvershootConfig |
double |
tension |
Constructor and Description |
---|
SpringConfig(double tension,
double friction)
constructor for the SpringConfig
|
public static final double DEFAULT_TENSION
public static final double DEFAULT_FRICTION
public double friction
public double tension
public static SpringConfig defaultConfig
public static SpringConfig noOvershootConfig