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

Function LuaSetFogColor

source/bind_graphics.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320// ***********************************************************************
321
322int LuaSetFogColor(lua_State* pLua) {
323 Vec3f color;
324 color.x = (f32)luaL_checknumber(pLua, 1);
325 color.y = (f32)luaL_checknumber(pLua, 2);
326 color.z = (f32)luaL_checknumber(pLua, 3);
327 SetFogColor(color);
328 return 0;
329}
330
331// ***********************************************************************
332

Callers

nothing calls this directly

Calls 1

SetFogColorFunction · 0.85

Tested by

no test coverage detected