spelling fix

This commit is contained in:
Jasper 2014-11-17 13:14:48 +01:00
parent e579fe1d75
commit 24a812ed07

View File

@ -161,8 +161,8 @@ glm::mat4 Physics::getRotation(int i)
void Physics::rollForward(glm::vec3 camPos)
{
btVector3 pos(camPos.x,camPos.y,camPos.z);
pos -= playerBody->getCentreOfMassPosition();
pos.cross(btVector3(0,1,0);
pos -= playerBody->getCenterOfMassPosition();
pos.cross(btVector3(0,1,0));
playerBall->applyTorque(pos);
/* glm::vec3 saveVector= glm::vec3(1,0,0) * rotCamera;