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 d55bb3465c
commit 3fc8e9c11a

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
{