fix another two misspells
This commit is contained in:
parent
8625586bee
commit
1f6d186539
|
@ -247,7 +247,7 @@ func (r Rect) Contains(u Vec) bool {
|
|||
//
|
||||
// pixel.IM.Moved(pixel.V(100, 200)).Rotated(0, math.Pi/2)
|
||||
//
|
||||
// This code creates a Matrix that first moves everything by 100 units horizontaly and 200 units
|
||||
// This code creates a Matrix that first moves everything by 100 units horizontally and 200 units
|
||||
// vertically and then rotates everything by 90 degrees around the origin.
|
||||
type Matrix [9]float64
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ func (imd *IMDraw) SetMatrix(m Matrix) {
|
|||
imd.batch.SetMatrix(imd.matrix)
|
||||
}
|
||||
|
||||
// SetColorMask sets a color that all futher point's color will be multiplied by.
|
||||
// SetColorMask sets a color that all further point's color will be multiplied by.
|
||||
func (imd *IMDraw) SetColorMask(color color.Color) {
|
||||
imd.mask = NRGBAModel.Convert(color).(NRGBA)
|
||||
imd.batch.SetColorMask(imd.mask)
|
||||
|
|
Loading…
Reference in New Issue