int w_CircleShape_getWorldCenter(lua_State * L) { CircleShape * c = luax_checkcircleshape(L, 1); float x, y; c->getWorldCenter(x, y); lua_pushnumber(L, x); lua_pushnumber(L, y); return 2; }