Files
directx-plane-game/Graphics2/ControlledSplitMeshNode.h
iDunnoDev 616f68bf8b 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
2022-06-13 16:41:25 +01:00

22 lines
577 B
C++

#pragma once
#include "DirectXFramework.h"
#include "SplitMeshNode.h"
#include "ObjectNode.h"
#include "SubMeshNode.h"
// Class for handing the moveable split 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 ControlledSplitMeshNode : public SplitMeshNode, public ObjectNode
{
public:
ControlledSplitMeshNode(wstring name, wstring modelName);
void Update(FXMMATRIX& currentWorldTransformation);
bool Initialise(void);
XMMATRIX GetWorldTransformation() const;
private:
};