mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Fix typo in the documentation for DrawImageOptions (#1275)
"The default (zero) value is identify" -> "The default (zero) value is identity"
This commit is contained in:
parent
0b3f846b47
commit
4249697062
2
image.go
2
image.go
@ -448,7 +448,7 @@ func (i *Image) DrawTriangles(vertices []Vertex, indices []uint16, img *Image, o
|
||||
// This API is experimental.
|
||||
type DrawRectShaderOptions struct {
|
||||
// GeoM is a geometry matrix to draw.
|
||||
// The default (zero) value is identify, which draws the rectangle at (0, 0).
|
||||
// The default (zero) value is identity, which draws the rectangle at (0, 0).
|
||||
GeoM GeoM
|
||||
|
||||
// CompositeMode is a composite mode to draw.
|
||||
|
Loading…
Reference in New Issue
Block a user