MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / RenderRect

Method RenderRect

LuaSTGPlus/LuaWrapper.cpp:1269–1282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1267 return 0;
1268 }
1269 static int RenderRect(lua_State* L)LNOEXCEPT
1270 {
1271 if (!LAPP.RenderRect(
1272 luaL_checkstring(L, 1),
1273 static_cast<float>(luaL_checknumber(L, 2)),
1274 static_cast<float>(luaL_checknumber(L, 5)),
1275 static_cast<float>(luaL_checknumber(L, 3)),
1276 static_cast<float>(luaL_checknumber(L, 4))
1277 ))
1278 {
1279 return luaL_error(L, "can't render '%m'", luaL_checkstring(L, 1));
1280 }
1281 return 0;
1282 }
1283 static int Render4V(lua_State* L)LNOEXCEPT
1284 {
1285 if (!LAPP.Render4V(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected