graphics: Fix comments

This commit is contained in:
Hajime Hoshi 2016-12-20 03:05:30 +09:00
parent 1a1d7972c1
commit 7ff7f946c9
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ func (c *ColorM) Concat(other ColorM) {
} }
// Add is deprecated as of 1.5.0-alpha. // Add is deprecated as of 1.5.0-alpha.
// Note that this doesn't make sense in terms of additions two affine matrices. // Note that this doesn't make sense as an operation for affine matrices.
func (c *ColorM) Add(other ColorM) { func (c *ColorM) Add(other ColorM) {
c.impl.Add(other.impl) c.impl.Add(other.impl)
} }

View File

@ -40,7 +40,7 @@ func (g *GeoM) Concat(other GeoM) {
} }
// Add is deprecated as of 1.5.0-alpha. // Add is deprecated as of 1.5.0-alpha.
// Note that this doesn't make sense in terms of additions two affine matrices. // Note that this doesn't make sense as an operation for affine matrices.
func (g *GeoM) Add(other GeoM) { func (g *GeoM) Add(other GeoM) {
g.impl.Add(other.impl) g.impl.Add(other.impl)
} }