Documentation errors/inaccuracies
Posted: Wed Feb 06, 2008 4:00 am
So, reading through the almighty docs I found a few issues:
love.graphics:setBackgroundColor(r, g, b): the example block reads love.graphics:setBackground, may be confusing
love.graphics:draw(image, x, y, angle): we pass the angle in degrees or radians?
Two dumb issues, that's for sure, but should be fixed nevertheless n_n
Edit 1:
love.mouse:isDown( button ): the example block reads
love.graphics:setBackgroundColor(r, g, b): the example block reads love.graphics:setBackground, may be confusing
love.graphics:draw(image, x, y, angle): we pass the angle in degrees or radians?
Two dumb issues, that's for sure, but should be fixed nevertheless n_n
Edit 1:
love.mouse:isDown( button ): the example block reads
Code: Select all
if love.mouse:mouse:isDown(love.mouse_left) then