Small fix to musgrave texture generator.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8065 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
Kae..pl 2011-08-23 13:20:41 +00:00
parent de8053c740
commit ccb31e646b

View File

@ -79,7 +79,7 @@ public class TextureGeneratorMusgrave extends TextureGenerator {
for (int j = -halfH; j < halfH; ++j) {
texvec[1] = hDelta * j / noisesize;
for (int k = -halfD; k < halfD; ++k) {
texvec[2] = dDelta * k;
texvec[2] = dDelta * k / noisesize;
switch (stype) {
case NoiseGenerator.TEX_MFRACTAL:
case NoiseGenerator.TEX_FBM: