This commit is contained in:
Troispoils 2024-03-03 20:07:40 +01:00
parent 443b3a319d
commit af9c782c1e
3 changed files with 19 additions and 39 deletions

View file

@ -15,7 +15,7 @@ namespace Map3DRendering {
private readonly int BlockSize = 17;
private readonly int allBlocks = 255 * 17 * 255 * 17;
private readonly int cellSize = 8;
private readonly int radius = 0x5; // Rayon du voisinage
private readonly int radius = 0x10; // Rayon du voisinage
public int[,] _vertexArrayObject;
public int[,] _vertexBufferObject;
@ -44,7 +44,6 @@ namespace Map3DRendering {
CalculeRadius(currentLandBlockX, currentLandBlockY);
}
public int GetIndiceLenght() {
return (17 - 1) * (17 - 1) * 6; //Always that.
}