[DEV] better grass

This commit is contained in:
Edouard DUPIN 2020-04-20 09:53:43 +02:00
parent 36dd2f7612
commit cb9c625ac2

View File

@ -35,8 +35,8 @@ public class Terrain {
normals[vertexPointer*3] = 0;
normals[vertexPointer*3+1] = 1;
normals[vertexPointer*3+2] = 0;
textureCoords[vertexPointer*2] = (float)j/((float)VERTEX_COUNT - 1);
textureCoords[vertexPointer*2+1] = (float)i/((float)VERTEX_COUNT - 1);
textureCoords[vertexPointer*2] = (float)j/((float)VERTEX_COUNT - 1)*100;
textureCoords[vertexPointer*2+1] = (float)i/((float)VERTEX_COUNT - 1)*100;
vertexPointer++;
}
}