From 1f6d186539a28f4dd9c89cebf6b22a9fcee3fabc Mon Sep 17 00:00:00 2001 From: faiface Date: Thu, 16 Mar 2017 00:47:50 +0100 Subject: [PATCH] fix another two misspells --- geometry.go | 2 +- graphics.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/geometry.go b/geometry.go index 81bf7ec..ad63f99 100644 --- a/geometry.go +++ b/geometry.go @@ -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 diff --git a/graphics.go b/graphics.go index d194fa6..80acc66 100644 --- a/graphics.go +++ b/graphics.go @@ -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)