Browse Source

Revert this whitespace change

Garrett Brown 5 years ago
parent
commit
ed257083c3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/modules/physics/box2d/Physics.cpp

+ 3 - 3
src/modules/physics/box2d/Physics.cpp

@@ -305,8 +305,8 @@ Fixture *Physics::newFixture(Body *body, Shape *shape, float density)
 
 int Physics::getDistance(lua_State *L)
 {
-	Fixture* fixtureA = luax_checktype<Fixture>(L, 1);
-	Fixture* fixtureB = luax_checktype<Fixture>(L, 2);
+	Fixture *fixtureA = luax_checktype<Fixture>(L, 1);
+	Fixture *fixtureB = luax_checktype<Fixture>(L, 2);
 	b2DistanceProxy pA, pB;
 	b2DistanceInput i;
 	b2DistanceOutput o;
@@ -322,7 +322,7 @@ int Physics::getDistance(lua_State *L)
 		i.transformB = fixtureB->fixture->GetBody()->GetTransform();
 		i.useRadii = true;
 		b2Distance(&o, &c, &i);
-		});
+	});
 
 	lua_pushnumber(L, Physics::scaleUp(o.distance));
 	lua_pushnumber(L, Physics::scaleUp(o.pointA.x));