Files
directx-plane-game/Graphics2/HeightMapTerrainNode.h
iDunnoDev f6bba67897 Added follow cam
Added "Controlled" mesh classes
Added Global Lighting Class
Added Gamepad controls
Split terrain nodes into Height and Perlin classes
Fixed Splitmesh node stuff
2022-05-09 17:50:22 +01:00

17 lines
417 B
C++

#pragma once
#include "DirectXFramework.h"
#include "SharedMethods.h"
#include "TerrainNode.h"
class HeightMapTerrainNode : public TerrainNode
{
public:
HeightMapTerrainNode(wstring name, wstring heightMap, wstring seed, float waterHeight = 150.0f, int widthX = 1023, int widthZ = 1023, int cellSizeX = 10, int cellSizeZ = 10);
private:
wstring _heightMap;
bool LoadHeightMap(wstring heightMapFilename);
};