class MathUtils
MathUtils
()
|
Signature
constructor() Returns MathUtils |
lerp
(
start
, end
, fraction
)
|
Linearly interpolates between two float values.
Signature
fun lerp(start: Float, end: Float, fraction: Float): Float Parameters start: Float
The starting value.
end: Float
The ending value.
fraction: Float
The fraction between the start and end values.
Returns Float
The interpolated value.
|