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
This commit is contained in:
16
Graphics2/HeightMapTerrainNode.h
Normal file
16
Graphics2/HeightMapTerrainNode.h
Normal file
@ -0,0 +1,16 @@
|
||||
#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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user