Ejemplo n.º 1
0
 public override void Clear()
 {
     base.Clear();
     restBends.Clear();
     bendingStiffnesses.Clear();
     plasticity.Clear();
 }
Ejemplo n.º 2
0
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     restBends.Clear();
     bendingStiffnesses.Clear();
 }
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     maxLengthsScales.Clear();
     stiffnesses.Clear();
 }
Ejemplo n.º 4
0
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     restLengths.Clear();
     stiffnesses.Clear();
 }
Ejemplo n.º 5
0
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     firstTriangle.Clear();
     restVolumes.Clear();
     pressureStiffness.Clear();
 }
Ejemplo n.º 6
0
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     lastIndices.Clear();
     restVolumes.Clear();
     pressureStiffness.Clear();
 }
Ejemplo n.º 7
0
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     skinPoints.Clear();
     skinNormals.Clear();
     skinRadiiBackstop.Clear();
     skinCompliance.Clear();
 }
Ejemplo n.º 8
0
 public virtual void Clear()
 {
     m_ConstraintCount       = 0;
     m_ActiveConstraintCount = 0;
     m_IDs.Clear();
     m_IDToIndex.Clear();
     particleIndices.Clear();
     lambdas.Clear();
 }
 public override void Clear()
 {
     base.Clear();
     firstIndex.Clear();
     numIndices.Clear();
     explicitGroup.Clear();
     particleIndices.Clear();
     materialParameters.Clear();
 }
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     pinBodies.Clear();
     offsets.Clear();
     restDarbouxVectors.Clear();
     stiffnesses.Clear();
 }
Ejemplo n.º 11
0
        public void PushDataToSolver()
        {
            if (!inSolver)
            {
                return;
            }

            // set solver constraint data:
            lambdas.Clear();
            particleIndices.ResizeUninitialized(stitches.Count * 2);
            stiffnesses.ResizeUninitialized(stitches.Count);
            lambdas.ResizeUninitialized(stitches.Count);

            for (int i = 0; i < stitches.Count; i++)
            {
                particleIndices[i * 2]     = actor1.solverIndices[stitches[i].particleIndex1];
                particleIndices[i * 2 + 1] = actor2.solverIndices[stitches[i].particleIndex2];
                stiffnesses[i]             = 0;
                lambdas[i] = 0;
            }

            m_BatchImpl.SetStitchConstraints(particleIndices, stiffnesses, lambdas, stitches.Count);
        }
 public override void Clear()
 {
     base.Clear();
     particleIndices.Clear();
     aerodynamicCoeffs.Clear();
 }
Ejemplo n.º 13
0
 public override void Clear()
 {
     base.Clear();
     restLengths.Clear();
     stiffnesses.Clear();
 }