Removed scaling of unit vectors.

This commit is contained in:
Aidan Gauland
2012-04-17 20:54:12 +12:00
parent d4c59d3508
commit 27b62b5c9c
4 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ namespace box2d
love::luax_assert_argc(L, 1, 1);
b2WorldManifold manifold;
contact->GetWorldManifold(&manifold);
lua_pushnumber(L, Physics::scaleUp(manifold.normal.x));
lua_pushnumber(L, Physics::scaleUp(manifold.normal.y));
lua_pushnumber(L, manifold.normal.x);
lua_pushnumber(L, manifold.normal.y);
return 2;
}