summaryrefslogtreecommitdiff
path: root/examples/julia_set.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2025-01-22 17:27:34 +0100
committerMitya Selivanov <automainint@guattari.tech>2025-01-22 17:27:34 +0100
commitc0c52a07376d22339a06d031892af649c2eb8acc (patch)
tree5532ebac932b5c0414cee7d7099f3151b5bcbd01 /examples/julia_set.c
parentfede6d46ef07c088f320db7f90a9e1479a3985bf (diff)
downloadreduced_system_layer-c0c52a07376d22339a06d031892af649c2eb8acc.zip
Clipboard image and sound proc decls
Diffstat (limited to 'examples/julia_set.c')
-rw-r--r--examples/julia_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/julia_set.c b/examples/julia_set.c
index e819ca5..288dac2 100644
--- a/examples/julia_set.c
+++ b/examples/julia_set.c
@@ -22,7 +22,7 @@ void apply_scale(f64 delta) {
}
f64 ds = view_s * delta * .1;
- if (view_s + ds < EPSILON)
+ if (view_s + ds < 1e-12)
return;
f64 dx = (g_platform.cursor_x * 1. - g_platform.real_width * .5);
f64 dy = (g_platform.cursor_y * 1. - g_platform.real_height * .5);