Ajustements dans renderer.

This commit is contained in:
MarcEricMartel 2021-12-18 15:34:47 -05:00
parent 5f50f5f87e
commit ae8f87b047

View File

@ -282,8 +282,8 @@ void World::RenderWorld(int& rendercount, Player& player, Transformation& world,
valide = false; valide = false;
if (valide) renderManifest[rendercount++] = Vector3<unsigned int>(chx, if (valide) renderManifest[rendercount++] = Vector3<unsigned int>(chx,
(VIEW_DISTANCE - (pos - cursor).Length() * 2.f) < 0.f? 0: (VIEW_DISTANCE - (pos - cursor).Length() * 3.f + 256.f) < 0.f? 0:
(VIEW_DISTANCE - (pos - cursor).Length() * 2.f) * 1000, (VIEW_DISTANCE - (pos - cursor).Length() * 3.f + 256.f) * 1000,
chy); chy);
} }
} }