mirror of
https://github.com/tanema/light_world.lua.git
synced 2024-12-24 20:24:19 +00:00
Typo fix README.md (comments in code example)
This commit is contained in:
parent
5c0cd33ccf
commit
bddba12664
@ -33,9 +33,9 @@ local LightWorld = require "lib/light_world"
|
|||||||
|
|
||||||
-- create light world
|
-- create light world
|
||||||
lightWorld = LightWorld({
|
lightWorld = LightWorld({
|
||||||
drawBackground = drawBackground, //the callback to use for drawing the background
|
drawBackground = drawBackground, --the callback to use for drawing the background
|
||||||
drawForground = drawForground, //the callback to use for drawing the foreground
|
drawForground = drawForground, --the callback to use for drawing the foreground
|
||||||
ambient = {55,55,55}, //the general ambient light in the environment
|
ambient = {55,55,55}, --the general ambient light in the environment
|
||||||
})
|
})
|
||||||
|
|
||||||
function love.draw()
|
function love.draw()
|
||||||
|
Loading…
Reference in New Issue
Block a user