Searched refs:NATURAL_FREQUENCY (Results 1 – 1 of 1) sorted by relevance
125 private static final double NATURAL_FREQUENCY = 24.657; field in EdgeEffect775 final double mDampedFreq = NATURAL_FREQUENCY * Math.sqrt(1 - DAMPING_RATIO * DAMPING_RATIO); in updateSpring()779 double sinCoeff = (1 / mDampedFreq) * (DAMPING_RATIO * NATURAL_FREQUENCY in updateSpring()781 double distance = Math.pow(Math.E, -DAMPING_RATIO * NATURAL_FREQUENCY * deltaT) in updateSpring()784 double velocity = distance * (-NATURAL_FREQUENCY) * DAMPING_RATIO in updateSpring()785 + Math.pow(Math.E, -DAMPING_RATIO * NATURAL_FREQUENCY * deltaT) in updateSpring()