Beispiel #1
0
int w_RopeJoint_setMaxLength(lua_State *L)
{
	RopeJoint *t = luax_checkropejoint(L, 1);
	float arg1 = (float)luaL_checknumber(L, 2);
	t->setMaxLength(arg1);
	return 0;
}
Beispiel #2
0
	int w_RopeJoint_getMaxLength(lua_State * L)
	{
		RopeJoint * t = luax_checkropejoint(L, 1);
		lua_pushnumber(L, t->getMaxLength());
		return 1;
	}