[bug, 0.5] missing constants for love.graphics.circle
Posted: Thu Oct 16, 2008 4:15 pm
I couldn't find the type constants for the function love.graphics.circle( type, x, y, radius ).
It seems that they are not available in lua or the documentation is wrong [ http://love2d.org/docs/love_graphics_circle_1.html ].
As a workaround i needed to use the numeric values defined in the love source:
* 1 = DRAW_LINE -> should be available as love.outline
* 2 = DRAW_FILL -> should be available as love.filled
It seems that they are not available in lua or the documentation is wrong [ http://love2d.org/docs/love_graphics_circle_1.html ].
As a workaround i needed to use the numeric values defined in the love source:
* 1 = DRAW_LINE -> should be available as love.outline
* 2 = DRAW_FILL -> should be available as love.filled