src/lua-bindings/wrap_imgui_codegen.cpp
/*  Use precomputed angles for a 12 steps circle */
Use precomputed angles for a 12 steps circle
Use precomputed angles for a 12 steps circle
int w_ImDrawList_PathArcToFast(lua_State *L)
{
	auto* self_udata = static_cast<WrapImDrawList*>(luaL_checkudata(L, 1, "ImDrawList"));
	if (!self_udata->isValid()) { luaL_error(L, "Expired userdata"); }
	auto* self = self_udata->value;
	ImVec2 center;
	center.x = luax_checkfloat(L, 2);
	center.y = luax_checkfloat(L, 3);
	auto radius = luax_checkfloat(L, 4);
	auto a_min_of_12 = luaL_checkint(L, 5);
	auto a_max_of_12 = luaL_checkint(L, 6);
	self->PathArcToFast(center, radius, a_min_of_12, a_max_of_12);
	return 0;
}
int w_ImDrawList_PathArcToFast ( lua_State * L ) { auto * self_udata = static_cast < WrapImDrawList * > ( luaL_checkudata ( L , 1 , " " ) ) ; if ( ! self_udata -> isValid ( ) ) { luaL_error ( L , " " ) ; } auto * self = self_udata -> value ; ImVec2 center ; center . x = luax_checkfloat ( L , 2 ) ; center . y = luax_checkfloat ( L , 3 ) ; auto radius = luax_checkfloat ( L , 4 ) ; auto a_min_of_12 = luaL_checkint ( L , 5 ) ; auto a_max_of_12 = luaL_checkint ( L , 6 ) ; self -> PathArcToFast ( center , radius , a_min_of_12 , a_max_of_12 ) ; return 0 ; }
Use precomputed angles for a 12 steps circle
Use precomputed angles for a 12 steps circle