From 8f87b7c7127ea74ef48e4304bc46301302bb5747 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Mon, 3 Mar 2025 12:59:20 +1300 Subject: [PATCH] Convert global var to constant --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index 804d724..1261c99 100644 --- a/clay.h +++ b/clay.h @@ -2018,7 +2018,7 @@ void Clay__InitializePersistentMemory(Clay_Context* context) { context->arenaResetOffset = arena->nextAllocation; } -float CLAY__EPSILON = 0.01; +const float CLAY__EPSILON = 0.01; bool Clay__FloatEqual(float left, float right) { float subtracted = left - right;