deprecate Interpolator (Kutil 1.24)

This commit is contained in:
Moritz Zwerger 2023-10-26 07:47:19 +02:00
parent cf7d44ddb5
commit edf0948f36
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -13,6 +13,7 @@
package de.bixilon.minosoft.util.interpolate
@Deprecated("Kutil 1.24")
class Interpolator<T>(
var initial: T,
var function: InterpolateFunction<T>,