From ae8f87b04761c23836835eee5a44131f2546b157 Mon Sep 17 00:00:00 2001 From: MarcEricMartel <74071476+MarcEricMartel@users.noreply.github.com> Date: Sat, 18 Dec 2021 15:34:47 -0500 Subject: [PATCH] Ajustements dans renderer. --- SQCSim2021/world.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQCSim2021/world.cpp b/SQCSim2021/world.cpp index df980a2..5fa0880 100644 --- a/SQCSim2021/world.cpp +++ b/SQCSim2021/world.cpp @@ -282,8 +282,8 @@ void World::RenderWorld(int& rendercount, Player& player, Transformation& world, valide = false; if (valide) renderManifest[rendercount++] = Vector3(chx, - (VIEW_DISTANCE - (pos - cursor).Length() * 2.f) < 0.f? 0: - (VIEW_DISTANCE - (pos - cursor).Length() * 2.f) * 1000, + (VIEW_DISTANCE - (pos - cursor).Length() * 3.f + 256.f) < 0.f? 0: + (VIEW_DISTANCE - (pos - cursor).Length() * 3.f + 256.f) * 1000, chy); } }