Remove ebiten.rgba

This commit is contained in:
Hajime Hoshi 2014-12-29 01:45:18 +09:00
parent a5b4b605dd
commit 2810161cdb

View File

@ -149,12 +149,3 @@ func RotateHue(theta float64) ColorM {
},
}
}
func rgba(r, g, b, a uint8) (float64, float64, float64, float64) {
const max = math.MaxUint8
rf := float64(r) / max
gf := float64(g) / max
bf := float64(b) / max
af := float64(a) / max
return rf, gf, bf, af
}