mirror of
https://github.com/vrld/HC.git
synced 2024-11-18 12:54:23 +00:00
make segments argument of CircleShape:draw() functional
This commit is contained in:
parent
f0aa1bf3d8
commit
93042a8dd6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user