graphics: Bug fix: comment

This commit is contained in:
Hajime Hoshi 2016-02-16 04:46:28 +09:00
parent 9660efc5bd
commit 278948a770

View File

@ -78,7 +78,7 @@ func (c *ColorM) Add(other ColorM) {
*c = result
}
// Scale scales the matrix by (x, y).
// Scale scales the matrix by (r, g, b, a).
func (c *ColorM) Scale(r, g, b, a float64) {
if !c.initialized {
c.initialize()
@ -91,7 +91,7 @@ func (c *ColorM) Scale(r, g, b, a float64) {
}
}
// Translate translates the matrix by (x, y).
// Translate translates the matrix by (r, g, b, a).
func (c *ColorM) Translate(r, g, b, a float64) {
if !c.initialized {
c.initialize()