public void DestroyConstraintsBatch(IConstraintsBatchImpl batch) { if (batch != null) { constraints[(int)batch.constraintType].RemoveBatch(batch); } }
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(); }
public void SetDependency(IConstraintsBatchImpl batch) { // no need to implement. }
public override void RemoveBatch(IConstraintsBatchImpl batch) { batches.Remove(batch as BurstBendTwistConstraintsBatch); batch.Destroy(); }
public abstract void RemoveBatch(IConstraintsBatchImpl batch);
public override void RemoveBatch(IConstraintsBatchImpl batch) { batches.Remove(batch as BurstShapeMatchingConstraintsBatch); batch.Destroy(); }
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(); }