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:
parent
de8053c740
commit
ccb31e646b
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user