mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Fix comments: a triangle -> triangles
This commit is contained in:
parent
1123cf46f9
commit
76534fcf5f
4
image.go
4
image.go
@ -268,7 +268,7 @@ type DrawTrianglesOptions struct {
|
|||||||
// MaxIndicesNum is the maximum number of indices for DrawTriangles.
|
// MaxIndicesNum is the maximum number of indices for DrawTriangles.
|
||||||
const MaxIndicesNum = graphics.IndicesNum
|
const MaxIndicesNum = graphics.IndicesNum
|
||||||
|
|
||||||
// DrawTriangles draws a triangle with the specified vertices and their indices.
|
// DrawTriangles draws triangles with the specified vertices and their indices.
|
||||||
//
|
//
|
||||||
// If len(indices) is not multiple of 3, DrawTriangles panics.
|
// If len(indices) is not multiple of 3, DrawTriangles panics.
|
||||||
//
|
//
|
||||||
@ -363,7 +363,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// DrawTrianglesWithShader draws a triangle with the specified vertices and their indices with the specified shader.
|
// DrawTrianglesWithShader draws triangles with the specified vertices and their indices with the specified shader.
|
||||||
//
|
//
|
||||||
// If len(indices) is not multiple of 3, DrawTrianglesWithShader panics.
|
// If len(indices) is not multiple of 3, DrawTrianglesWithShader panics.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user