修改水
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Obi
|
||||
get { return m_BatchImpl; }
|
||||
}
|
||||
|
||||
public ObiDistanceConstraintsBatch(ObiDistanceConstraintsData constraints = null) : base()
|
||||
public ObiDistanceConstraintsBatch(int a = 0)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -135,11 +135,6 @@ namespace Obi
|
||||
|
||||
public override void RemoveFromSolver(ObiSolver solver)
|
||||
{
|
||||
base.RemoveFromSolver(solver);
|
||||
|
||||
restLengths.Dispose();
|
||||
stiffnesses.Dispose();
|
||||
|
||||
//Remove batch:
|
||||
solver.implementation.DestroyConstraintsBatch(m_BatchImpl as IConstraintsBatchImpl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user