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

Function LuaEnableLighting

source/bind_graphics.cpp:256–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254// ***********************************************************************
255
256int LuaEnableLighting(lua_State* pLua) {
257 luaL_checktype(pLua, -1, LUA_TBOOLEAN);
258 bool enabled = lua_toboolean(pLua, -1) != 0;
259 EnableLighting(enabled);
260 return 0;
261}
262
263// ***********************************************************************
264

Callers

nothing calls this directly

Calls 1

EnableLightingFunction · 0.85

Tested by

no test coverage detected