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

Function LuaAmbient

source/bind_graphics.cpp:285–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283// ***********************************************************************
284
285int LuaAmbient(lua_State* pLua) {
286 Vec3f color;
287 color.x = (f32)luaL_checknumber(pLua, 1);
288 color.y = (f32)luaL_checknumber(pLua, 2);
289 color.z = (f32)luaL_checknumber(pLua, 3);
290
291 Ambient(color);
292 return 0;
293}
294
295// ***********************************************************************
296

Callers

nothing calls this directly

Calls 1

AmbientFunction · 0.85

Tested by

no test coverage detected