Bevel the hand outlines
This commit is contained in:
parent
0ba4f6ccca
commit
4e9be28c42
@ -35,6 +35,7 @@ function Hand:draw(turns)
|
|||||||
love.graphics.rotate(turnsToRads(turns) + 0.5 * math.pi)
|
love.graphics.rotate(turnsToRads(turns) + 0.5 * math.pi)
|
||||||
love.graphics.polygon("fill", vertices)
|
love.graphics.polygon("fill", vertices)
|
||||||
love.graphics.setColor(DARK_YELLOW)
|
love.graphics.setColor(DARK_YELLOW)
|
||||||
|
love.graphics.setLineJoin("bevel")
|
||||||
love.graphics.setLineWidth(self.lineWidth)
|
love.graphics.setLineWidth(self.lineWidth)
|
||||||
love.graphics.polygon("line", vertices)
|
love.graphics.polygon("line", vertices)
|
||||||
love.graphics.pop()
|
love.graphics.pop()
|
||||||
|
Loading…
Reference in New Issue
Block a user