Undid something i did not want to include in the last commit.

This commit is contained in:
Steffen Fündgens 2015-02-13 15:38:43 +01:00
parent 7a7b8d07c6
commit 22232ff7dc

View File

@ -25,11 +25,11 @@ void Physics::init(std::string geometryPath) //prepares bullet by creating all i
void Physics::takeUpdateStep(float timeDiff)
{
counter++;
/*if(counter<1)
if(counter<1)
{
world->stepSimulation(timeDiff); //allows the world to be simmulated correctly indipendant of the timedifferences between frames
return;
}*/
}
for(unsigned i = 0; i < allPositionConstraints.size();i++) //this handles the spring constraints
{