ebiten: update documents

This commit is contained in:
Hajime Hoshi 2023-03-23 19:56:25 +09:00
parent acf05b8d2b
commit 140c1ea6c9

View File

@ -405,7 +405,8 @@ const MaxIndicesNum = graphics.IndicesCount
// and adjust the color elements in the vertices. For an actual implementation, // and adjust the color elements in the vertices. For an actual implementation,
// see the example 'vector'. // see the example 'vector'.
// //
// Vertex contains color values, which are interpreted as straight-alpha colors. // Vertex contains color values, which are interpreted as straight-alpha colors by default.
// This depends on the option's ColorScaleMode.
// //
// If len(indices) is not multiple of 3, DrawTriangles panics. // If len(indices) is not multiple of 3, DrawTriangles panics.
// //