Exemple #1
0
 public void DestroyConstraintsBatch(IConstraintsBatchImpl batch)
 {
     if (batch != null)
     {
         constraints[(int)batch.constraintType].RemoveBatch(batch);
     }
 }
Exemple #2
0
 public void SetDependency(IConstraintsBatchImpl batch)
 {
     if (batch != null)
     {
         Oni.SetDependency(m_OniBatch, ((OniConstraintsBatchImpl)batch).oniBatch);
     }
     else
     {
         Oni.SetDependency(m_OniBatch, IntPtr.Zero);
     }
 }
 public override void RemoveBatch(IConstraintsBatchImpl batch)
 {
     Oni.RemoveBatch(((OniSolverImpl)solver).oniSolver, ((OniConstraintsBatchImpl)batch).oniBatch);
 }
 public override void RemoveBatch(IConstraintsBatchImpl batch)
 {
     batches.Remove(batch as BurstColliderCollisionConstraintsBatch);
     batch.Destroy();
 }
 public override void RemoveBatch(IConstraintsBatchImpl batch)
 {
     batches.Remove(batch as BurstAerodynamicConstraintsBatch);
     batch.Destroy();
 }
Exemple #6
0
 public void SetDependency(IConstraintsBatchImpl batch)
 {
     // no need to implement.
 }
 public override void RemoveBatch(IConstraintsBatchImpl batch)
 {
     batches.Remove(batch as BurstBendTwistConstraintsBatch);
     batch.Destroy();
 }
Exemple #8
0
 public abstract void RemoveBatch(IConstraintsBatchImpl batch);
 public override void RemoveBatch(IConstraintsBatchImpl batch)
 {
     batches.Remove(batch as BurstShapeMatchingConstraintsBatch);
     batch.Destroy();
 }
Exemple #10
0
 public void DestroyConstraintsBatch(IConstraintsBatchImpl group)
 {
 }
 public override void RemoveBatch(IConstraintsBatchImpl batch)
 {
     batches.Remove(batch as BurstStretchShearConstraintsBatch);
     batch.Destroy();
 }
 public override void RemoveBatch(IConstraintsBatchImpl batch)
 {
     batches.Remove(batch as BurstParticleFrictionConstraintsBatch);
     batch.Destroy();
 }