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

Method SetViewport

LuaSTGPlus/LuaWrapper.cpp:1211–1223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1209 return 0;
1210 }
1211 static int SetViewport(lua_State* L)LNOEXCEPT
1212 {
1213 if (!LAPP.SetViewport(
1214 luaL_checknumber(L, 1),
1215 luaL_checknumber(L, 2),
1216 luaL_checknumber(L, 3),
1217 luaL_checknumber(L, 4)
1218 ))
1219 {
1220 return luaL_error(L, "invalid arguments for 'SetViewport'.");
1221 }
1222 return 0;
1223 }
1224 static int SetOrtho(lua_State* L)LNOEXCEPT
1225 {
1226 LAPP.SetOrtho(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected