rename treshold into thresold (spelling mistake)

added cr/linefeed at end of btDefaultMotionState.h
This commit is contained in:
ejcoumans
2006-10-30 05:06:46 +00:00
parent dd8297c86e
commit b14ccdaa57
14 changed files with 40 additions and 40 deletions

View File

@@ -602,8 +602,8 @@ void ColladaConverter::prepareConstraints(ConstraintInput& input)
//see daeMetaAttribute.cpp
//INF -> 999999.9
//-INF -> -999999.9
float linearCheckTreshold = 999999.0;
float angularCheckTreshold = 180.0;//check this
float linearCheckThreshold = 999999.0;
float angularCheckThreshold = 180.0;//check this
@@ -620,16 +620,16 @@ void ColladaConverter::prepareConstraints(ConstraintInput& input)
{
for (int i=0;i<3;i++)
{
if ((linearLowerLimits[i] < -linearCheckTreshold) ||
(linearUpperLimits[i] > linearCheckTreshold))
if ((linearLowerLimits[i] < -linearCheckThreshold) ||
(linearUpperLimits[i] > linearCheckThreshold))
{
//disable limits
linearLowerLimits[i] = 1;
linearUpperLimits[i] = 0;
}
if ((angularLowerLimits[i] < -angularCheckTreshold) ||
(angularUpperLimits[i] > angularCheckTreshold))
if ((angularLowerLimits[i] < -angularCheckThreshold) ||
(angularUpperLimits[i] > angularCheckThreshold))
{
//disable limits
angularLowerLimits[i] = 1;