Party!
This commit is contained in:
@@ -292,7 +292,7 @@ void World::RenderWorld(int& rendercount, int& badhitcount, Player& player, Tran
|
||||
direct.Normalize();
|
||||
pos.y = 1;
|
||||
|
||||
static Vector3f renderManifest[VIEW_DISTANCE * 4];
|
||||
static Vector3f renderManifest[VIEW_DISTANCE * 4]; // Nombre de Chunks maximal <20> <20>tre rendus.
|
||||
|
||||
//for (int dist = VIEW_DISTANCE; dist >= 0; dist -= CHUNK_SIZE_X) {
|
||||
for (int dist = 0; dist <= VIEW_DISTANCE; dist += CHUNK_SIZE_X) {
|
||||
@@ -305,17 +305,17 @@ void World::RenderWorld(int& rendercount, int& badhitcount, Player& player, Tran
|
||||
cosinus = .99996192306; // cos(1/2 degr<67>)
|
||||
echantillons = 180;
|
||||
}
|
||||
else if (dist > VIEW_DISTANCE * .5f) {
|
||||
else if (dist > VIEW_DISTANCE * .4f) {
|
||||
sinus = .01151891831f; // sin(2/3 degr<67>)
|
||||
cosinus = .99993365506; // cos(2/3 degr<67>)
|
||||
echantillons = 120;
|
||||
}
|
||||
else if (dist > VIEW_DISTANCE * .325f) {
|
||||
else if (dist > VIEW_DISTANCE * .3f) {
|
||||
sinus = .01745240643; // sin(1 degr<67>)
|
||||
cosinus = .99984769515; // cos(1 degr<67>)
|
||||
echantillons = 90;
|
||||
}
|
||||
else if (dist > VIEW_DISTANCE * .25f) {
|
||||
else if (dist > VIEW_DISTANCE * .2f) {
|
||||
sinus = .0261769483;
|
||||
cosinus = .99965732497;
|
||||
echantillons = 60;
|
||||
|
Reference in New Issue
Block a user