Convert global var to constant

This commit is contained in:
Nic Barker 2025-03-03 12:59:20 +13:00
parent 9b34af6e3e
commit 8f87b7c712

2
clay.h
View File

@ -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;