change TrianglesColor.Color return type to NRGBA
This commit is contained in:
parent
c8627e1e93
commit
906c3248a4
|
@ -72,7 +72,7 @@ type TrianglesPosition interface {
|
||||||
// Default value for a color is the white color.
|
// Default value for a color is the white color.
|
||||||
type TrianglesColor interface {
|
type TrianglesColor interface {
|
||||||
Triangles
|
Triangles
|
||||||
Color(i int) color.Color
|
Color(i int) NRGBA
|
||||||
}
|
}
|
||||||
|
|
||||||
// TrianglesTexture specifies Triangles with Texture propery.
|
// TrianglesTexture specifies Triangles with Texture propery.
|
||||||
|
|
Loading…
Reference in New Issue