vector: remove redundant MoveTo

This commit is contained in:
Hajime Hoshi 2022-10-11 01:18:18 +09:00
parent 84452b0bf8
commit 1ff55bc745

View File

@ -411,7 +411,6 @@ func (p *Path) AppendVerticesAndIndicesForStroke(vertices []ebiten.Vertex, indic
} else { } else {
arc.Arc(c.x, c.y, op.Width/2, a0+math.Pi, a1+math.Pi, CounterClockwise) arc.Arc(c.x, c.y, op.Width/2, a0+math.Pi, a1+math.Pi, CounterClockwise)
} }
arc.MoveTo(c.x, c.y)
vertices, indices = arc.AppendVerticesAndIndicesForFilling(vertices, indices) vertices, indices = arc.AppendVerticesAndIndicesForFilling(vertices, indices)
} }
} }