mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
parent
a310b7c5bb
commit
a57042ebef
@ -287,7 +287,7 @@ func (p *Path) Arc(x, y, radius, startAngle, endAngle float32, dir Direction) {
|
||||
func (p *Path) AppendVerticesAndIndicesForFilling(vertices []ebiten.Vertex, indices []uint16) ([]ebiten.Vertex, []uint16) {
|
||||
// TODO: Add tests.
|
||||
|
||||
var base uint16
|
||||
base := uint16(len(vertices))
|
||||
for _, seg := range p.segs {
|
||||
if len(seg) < 3 {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user