mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-13 09:26:11 -04:00
deprecate Interpolator (Kutil 1.24)
This commit is contained in:
parent
cf7d44ddb5
commit
edf0948f36
@ -13,6 +13,7 @@
|
||||
|
||||
package de.bixilon.minosoft.util.interpolate
|
||||
|
||||
@Deprecated("Kutil 1.24")
|
||||
fun interface InterpolateFunction<T> {
|
||||
|
||||
fun interpolate(delta: Float, value0: T, value1: T): T
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
package de.bixilon.minosoft.util.interpolate
|
||||
|
||||
@Deprecated("Kutil 1.24")
|
||||
class Interpolator<T>(
|
||||
var initial: T,
|
||||
var function: InterpolateFunction<T>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user