mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-18 20:28:01 +00:00
Convert global var to constant
This commit is contained in:
parent
9b34af6e3e
commit
8f87b7c712
2
clay.h
2
clay.h
@ -2018,7 +2018,7 @@ void Clay__InitializePersistentMemory(Clay_Context* context) {
|
|||||||
context->arenaResetOffset = arena->nextAllocation;
|
context->arenaResetOffset = arena->nextAllocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
float CLAY__EPSILON = 0.01;
|
const float CLAY__EPSILON = 0.01;
|
||||||
|
|
||||||
bool Clay__FloatEqual(float left, float right) {
|
bool Clay__FloatEqual(float left, float right) {
|
||||||
float subtracted = left - right;
|
float subtracted = left - right;
|
||||||
|
Loading…
Reference in New Issue
Block a user