This commit is contained in:
Michael Fogleman 2016-02-22 22:34:11 -05:00
parent b224ca0761
commit c839b5829a

View File

@ -71,7 +71,7 @@ func parseHexColor(x string) (r, g, b, a int) {
}
func fixp(x, y float64) fixed.Point26_6 {
return fixed.Point26_6{fixed.Int26_6(x * 64), fixed.Int26_6(y * 64)}
return fixed.Point26_6{fix(x), fix(y)}
}
func fix(x float64) fixed.Int26_6 {