From cb9c625ac209c747fea02789194e1cf901c49936 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 20 Apr 2020 09:53:43 +0200 Subject: [PATCH] [DEV] better grass --- src/terrains/Terrain.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terrains/Terrain.java b/src/terrains/Terrain.java index 4f61159..3f6bb37 100644 --- a/src/terrains/Terrain.java +++ b/src/terrains/Terrain.java @@ -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++; } }