make segments argument of CircleShape:draw() functional

This commit is contained in:
Andrew Minnich 2018-11-26 02:53:51 -05:00
parent f0aa1bf3d8
commit 93042a8dd6

View File

@ -418,7 +418,8 @@ function ConcavePolygonShape:draw(mode, wireframe)
end
function CircleShape:draw(mode, segments)
love.graphics.circle(mode or 'line', self:outcircle())
local x, y, r = self:outcircle()
love.graphics.circle(mode or 'line', x, y, r, segments)
end
function PointShape:draw()