mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
vector: remove redundant MoveTo
This commit is contained in:
parent
84452b0bf8
commit
1ff55bc745
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user