Revert "Corrected some bugs..."

This reverts commit 29d8b48503.
This commit is contained in:
Palaui 2014-12-09 13:10:28 +01:00
parent 29d8b48503
commit a2c8ddca13
6 changed files with 13 additions and 44 deletions

View file

@ -743,7 +743,7 @@ Model LoadHeightmap(Image heightmap, float maxHeight)
vData.texcoords[tcCounter + 7] = vData.texcoords[tcCounter + 5];
vData.texcoords[tcCounter + 8] = vData.texcoords[tcCounter + 2];
vData.texcoords[tcCounter + 9] = vData.texcoords[tcCounter + 3];
vData.texcoords[tcCounter + 9] = vData.texcoords[tcCounter + 1];
vData.texcoords[tcCounter + 10] = (float)(x+1) / (mapX-1);
vData.texcoords[tcCounter + 11] = (float)(z+1) / (mapZ-1);