mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
add simple easing function
This commit is contained in:
parent
30c16984c0
commit
4dd9a7c37f
1 changed files with 0 additions and 3 deletions
|
@ -122,9 +122,6 @@
|
|||
overlayPosition.z = lerp(overlayPosition.z, offsetPosition.z, LERP_AMOUNT);
|
||||
|
||||
var rgbColor = hsvToRgb(
|
||||
lerp(startColor.h, endColor.h, tweenPosition),
|
||||
lerp(startColor.s, endColor.s, tweenPosition),
|
||||
lerp(startColor.v, endColor.v, tweenPosition)
|
||||
);
|
||||
|
||||
Overlays.editOverlay(overlayID, {
|
||||
|
|
Loading…
Reference in a new issue