MCPcopy Create free account
hub / github.com/DavidColson/Polybox / LuaSetClearColor

Function LuaSetClearColor

source/bind_graphics.cpp:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108// ***********************************************************************
109
110int LuaSetClearColor(lua_State* pLua) {
111 f32 r = (f32)luaL_checknumber(pLua, 1);
112 f32 g = (f32)luaL_checknumber(pLua, 2);
113 f32 b = (f32)luaL_checknumber(pLua, 3);
114 f32 a = (f32)luaL_checknumber(pLua, 4);
115 SetClearColor(Vec4f(r, g, b, a));
116 return 0;
117}
118
119// ***********************************************************************
120

Callers

nothing calls this directly

Calls 1

SetClearColorFunction · 0.85

Tested by

no test coverage detected