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:
iDunnoDev
2022-06-13 16:41:25 +01:00
committed by iDunnoDev
parent 51afdeecbd
commit 616f68bf8b
40 changed files with 468 additions and 51 deletions

View File

@ -27,6 +27,8 @@ public:
float GetRoll() const;
void SetLeftRight(float leftRight);
void SetForwardBack(float forwardBack);
// Method for setting which object node is being followed
void SetFollowNode(shared_ptr<ObjectNode> nodeFollowed, XMFLOAT3 followOffset, bool positionOnly);
private:
@ -38,6 +40,7 @@ private:
float _moveForwardBack;
float _cameraYaw;
// Camera yaw previous to help with the rotation, remove later
float _cameraYawPrev;
float _cameraPitch;
float _cameraRoll;