aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2025-04-10 15:55:59 +0200
committernokoe <nokoe@mailbox.org>2025-04-10 15:56:26 +0200
commitba085c63d3687fd33c99c87b002a51c95beef7f7 (patch)
treec225e1b18faefc8c2a5f2e421a39fc53fbc9a8f5 /client/global.gd
parent35c24bb62710d06fc1739bfab2242e16290911a7 (diff)
downloadhurrycurry-ba085c63d3687fd33c99c87b002a51c95beef7f7.tar
hurrycurry-ba085c63d3687fd33c99c87b002a51c95beef7f7.tar.bz2
hurrycurry-ba085c63d3687fd33c99c87b002a51c95beef7f7.tar.zst
add cat ears
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/global.gd b/client/global.gd
index ff88593e..56566bbe 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -200,7 +200,7 @@ func get_hint(key: String):
static func interpolate(current, target, dt):
return target + (current - target) * exp(-dt)
-static func interpolate_angle(current, target, dt):
+static func interpolate_angle(current, target, dt) -> float:
current = fmod(current, PI * 2)
target = fmod(target, PI * 2)
if target - current > PI: target -= PI * 2