Ajustements dans renderer.
This commit is contained in:
		| @@ -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); | ||||
| 			} | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user