mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: fixes a typo (#1930)
This change fixes a misspelling of the word "multiplying" in the docstring for `ebiten.GeoM.Concat`.
This commit is contained in:
parent
b581fe8f22
commit
7a244a5715
2
geom.go
2
geom.go
@ -81,7 +81,7 @@ func (g *GeoM) Element(i, j int) float64 {
|
||||
}
|
||||
|
||||
// Concat multiplies a geometry matrix with the other geometry matrix.
|
||||
// This is same as muptiplying the matrix other and the matrix g in this order.
|
||||
// This is same as multiplying the matrix other and the matrix g in this order.
|
||||
func (g *GeoM) Concat(other GeoM) {
|
||||
a := (other.a_1+1)*(g.a_1+1) + other.b*g.c
|
||||
b := (other.a_1+1)*g.b + other.b*(g.d_1+1)
|
||||
|
Loading…
Reference in New Issue
Block a user