Stones en textures af

This commit is contained in:
Dofensmirtsz
2016-06-21 14:41:14 +02:00
parent eaa185c90a
commit d795e8465c
32 changed files with 171544 additions and 172831 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ HeightMap::HeightMap(const std::string &file, World* world)
auto heightAt = [&](int x, int y)
{
return (imgData[(x + y * width) * 4 ] / 256.0f) * 50.0f;
return (imgData[(x + y * width) * 4] / 256.0f) * 50.0f;
};
auto valueAt = [&](int x, int y, int offset = 0)