mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
tooltip UI; tooltip in the inventory
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user