From 24a812ed07fefa78f730961f69d662822b551016 Mon Sep 17 00:00:00 2001 From: Jasper Date: Mon, 17 Nov 2014 13:14:48 +0100 Subject: [PATCH] spelling fix --- physics.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physics.cc b/physics.cc index 11ede4a..d16d490 100644 --- a/physics.cc +++ b/physics.cc @@ -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;