From 2810161cdbcbeebff55619e1b582378acfff80e9 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 29 Dec 2014 01:45:18 +0900 Subject: [PATCH] Remove ebiten.rgba --- colorm.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/colorm.go b/colorm.go index 7ee0e8178..dd7a749a9 100644 --- a/colorm.go +++ b/colorm.go @@ -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 -}