Searched refs:mDampedFreq (Results 1 – 2 of 2) sorted by relevance
100 private double mDampedFreq; field in SpringForce255 mDampedFreq = mNaturalFreq * Math.sqrt(1 - mDampingRatio * mDampingRatio); in init()293 double sinCoeff = (1 / mDampedFreq) * (mDampingRatio * mNaturalFreq in updateValues()296 * (cosCoeff * Math.cos(mDampedFreq * deltaT) in updateValues()297 + sinCoeff * Math.sin(mDampedFreq * deltaT)); in updateValues()300 * (-mDampedFreq * cosCoeff * Math.sin(mDampedFreq * deltaT) in updateValues()301 + mDampedFreq * sinCoeff * Math.cos(mDampedFreq * deltaT)); in updateValues()
775 final double mDampedFreq = NATURAL_FREQUENCY * Math.sqrt(1 - DAMPING_RATIO * DAMPING_RATIO); in updateSpring() local779 double sinCoeff = (1 / mDampedFreq) * (DAMPING_RATIO * NATURAL_FREQUENCY in updateSpring()782 * (cosCoeff * Math.cos(mDampedFreq * deltaT) in updateSpring()783 + sinCoeff * Math.sin(mDampedFreq * deltaT)); in updateSpring()786 * (-mDampedFreq * cosCoeff * Math.sin(mDampedFreq * deltaT) in updateSpring()787 + mDampedFreq * sinCoeff * Math.cos(mDampedFreq * deltaT)); in updateSpring()