mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
graphics: Bug fix: comment
This commit is contained in:
parent
9660efc5bd
commit
278948a770
@ -78,7 +78,7 @@ func (c *ColorM) Add(other ColorM) {
|
|||||||
*c = result
|
*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) {
|
func (c *ColorM) Scale(r, g, b, a float64) {
|
||||||
if !c.initialized {
|
if !c.initialized {
|
||||||
c.initialize()
|
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) {
|
func (c *ColorM) Translate(r, g, b, a float64) {
|
||||||
if !c.initialized {
|
if !c.initialized {
|
||||||
c.initialize()
|
c.initialize()
|
||||||
|
Loading…
Reference in New Issue
Block a user