Class MuscleSpring

    • Constructor Detail

      • MuscleSpring

        public MuscleSpring​(Particle pA,
                            Particle pB,
                            float pSpringConstant,
                            float pSpringDamping,
                            float pRestLength)
    • Method Detail

      • restlength

        public float restlength()
        Overrides:
        restlength in class Spring
      • restlength

        public void restlength​(float pRestLength)
        Overrides:
        restlength in class Spring
      • apply

        public void apply​(float pDeltaTime,
                          Physics pParticleSystem)
        Specified by:
        apply in interface IForce
        Overrides:
        apply in class Spring
      • frequency

        public void frequency​(float pFrequency)
      • frequency

        public float frequency()
      • amplitude

        public void amplitude​(float pAmplitude)
      • amplitude

        public float amplitude()
      • phaseshift

        public void phaseshift​(float pPhaseShift)
      • phaseshift

        public float phaseshift()