if (mode != ADDITION || mode != SUBTRACTION) {<br />
throw new JmeException("Invalid mode");
}
This segment of code makes one of CombinerHeightMap's constructor broken,as well as the method "setMode()".
if (mode != ADDITION || mode != SUBTRACTION) {<br />
throw new JmeException("Invalid mode");
}
This segment of code makes one of CombinerHeightMap's constructor broken,as well as the method "setMode()".
btw,is there a way to use MidPointHeightMap(size of 2^n) and TerrainPage(size of 2^n +1) in the same time?
Nighthaven said:
if (mode != ADDITION || mode != SUBTRACTION) {
throw new JmeException("Invalid mode");
}
This segment of code makes one of CombinerHeightMap's constructor broken,as well as the method "setMode()".