Ajustements dans renderer.
This commit is contained in:
parent
5f50f5f87e
commit
ae8f87b047
@ -282,8 +282,8 @@ void World::RenderWorld(int& rendercount, Player& player, Transformation& world,
|
||||
valide = false;
|
||||
|
||||
if (valide) renderManifest[rendercount++] = Vector3<unsigned int>(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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user