int w_Fixture_getDensity(lua_State *L) { Fixture *t = luax_checkfixture(L, 1); lua_pushnumber(L, t->getDensity()); return 1; }