tooltip UI; tooltip in the inventory

This commit is contained in:
minjaesong
2017-11-25 17:56:29 +09:00
parent f45a3d252a
commit 35f2cf6b4d
12 changed files with 143 additions and 21 deletions

View File

@@ -23,6 +23,7 @@ object CIEXYZUtil {
return xyz.toColor()
}
@Deprecated("Use one in CIELAB or CIELUV; CIEXYZ is not perceptually uniform")
fun getGradient(scale: Float, fromCol: Color, toCol: Color): Color {
val from = fromCol.toXYZ()
val to = toCol.toXYZ()