vector: Fix comments

This commit is contained in:
Hajime Hoshi 2021-09-26 01:13:00 +09:00
parent 90a1ba281a
commit b2e38894e0

View File

@ -282,7 +282,7 @@ func (p *Path) Arc(x, y, radius, startAngle, endAngle float32, dir Direction) {
// //
// The returned vertice's SrcX and SrcY are 0, and ColorR, ColorG, ColorB, and ColorA are 1. // The returned vertice's SrcX and SrcY are 0, and ColorR, ColorG, ColorB, and ColorA are 1.
// //
// The returned values are intended to be passed to DrawTriangles or DrawTrianglesShader with EvenOdd option // The returned values are intended to be passed to DrawTriangles or DrawTrianglesShader with EvenOdd fill mode
// in order to render a complex polygon like a concave polygon, a polygon with holes, or a self-intersecting polygon. // in order to render a complex polygon like a concave polygon, a polygon with holes, or a self-intersecting polygon.
func (p *Path) AppendVerticesAndIndicesForFilling(vertices []ebiten.Vertex, indices []uint16) ([]ebiten.Vertex, []uint16) { func (p *Path) AppendVerticesAndIndicesForFilling(vertices []ebiten.Vertex, indices []uint16) ([]ebiten.Vertex, []uint16) {
// TODO: Add tests. // TODO: Add tests.