From 5e76e1ad57819d0265a83ebc90c1f3c9d1324593 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 7 Aug 2023 15:24:45 +0200 Subject: [PATCH] WIP: fix max not being properly defined --- src/graphics/buffers.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/graphics/buffers.c b/src/graphics/buffers.c index c17b919..86370f9 100644 --- a/src/graphics/buffers.c +++ b/src/graphics/buffers.c @@ -629,7 +629,6 @@ static bool arrows_anchors (long x, long y, long z, max = fmax(max, z); float i, j, k, vx, vy, vz, - max = fmax(x, y), ad = 1 / max, eps = 0.3f * ad, // eps(ilon) donne la dimension de l'étoile centrale mic = 0.1 * ad; // mic servira à décaler légèrement les pointes des flèches