
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
20 lines
495 B
C++
20 lines
495 B
C++
#pragma once
|
|
#include "ObjectNode.h"
|
|
#include "MeshNode.h"
|
|
|
|
// Class for handing the moveable mesh nodes, inherits from both the mesh and object nodes, the object node contains what is needed for pitch, yaw and forward back movement
|
|
class ControlledMeshNode : public MeshNode, public ObjectNode
|
|
{
|
|
public:
|
|
ControlledMeshNode(wstring name, wstring modelName);
|
|
|
|
void Update(FXMMATRIX& currentWorldTransformation);
|
|
bool Initialise(void);
|
|
|
|
XMMATRIX GetWorldTransformation() const;
|
|
|
|
private:
|
|
|
|
};
|
|
|