private void ComputeMaxForces(float maxForce, float dt)
{
//Determine maximum force
if (maxForce < float.MaxValue)
{
maxForceDt = maxForce * dt;
maxForceDtSquared = maxForceDt * maxForceDt;
}
else
{
maxForceDt = float.MaxValue;
maxForceDtSquared = float.MaxValue;
}
}
}