Added Comments
Added ability to hold shift and skip the terrain generation when loading Added ability for the perlin terrain to save a raw image of the terrain to use as a cache
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
HeightMapTerrainNode::HeightMapTerrainNode(wstring name, wstring heightMap, wstring seed, float waterHeight, int widthX, int widthZ, int cellSizeX, int cellSizeZ) : TerrainNode(name, seed, waterHeight, widthX, widthZ, cellSizeX, cellSizeZ)
|
||||
{
|
||||
_heightMap = heightMap;
|
||||
// Try to load the height map otherwise fail and set the error bool
|
||||
if (!LoadHeightMap(_heightMap))
|
||||
{
|
||||
_initError = true;
|
||||
|
Reference in New Issue
Block a user