aboutsummaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-11-28 23:18:28 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-11-28 23:18:28 +0100
commitcbf9f59da02371651094249ed931d076682c892f (patch)
tree70229568d63bba3f220075676287d85a3e22c1e8 /core/math
parent976bb52af7394ce283d7972c17edcc18fb795086 (diff)
Fix `core:math/ease`
Diffstat (limited to 'core/math')
-rw-r--r--core/math/ease/flux.odin5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/math/ease/flux.odin b/core/math/ease/flux.odin
index 137f3dff6..8a9de9636 100644
--- a/core/math/ease/flux.odin
+++ b/core/math/ease/flux.odin
@@ -1,6 +1,7 @@
// Flux easing used for animations
package ease
+import "base:intrinsics"
import "core:time"
Flux_Map :: struct($T: typeid) {
@@ -41,8 +42,8 @@ flux_init :: proc($T: typeid, value_capacity := 8, allocator := context.allocato
// delete map content
flux_destroy :: proc(flux: Flux_Map($T), allocator := context.allocator, loc := #caller_location) where intrinsics.type_is_float(T) {
- delete(flux.values, allocator, loc)
- delete(flux.keys_to_be_deleted, allocator, loc)
+ delete(flux.values, loc)
+ delete(flux.keys_to_be_deleted, loc)
}
// clear map content, stops all animations