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