* Initial commit.

:)
This commit is contained in:
iProgramInCpp
2023-07-30 22:22:02 +03:00
commit 9642818a88
613 changed files with 151754 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
class ITurnInput
{
public:
struct Delta
{
float x = 0.0f, y = 0.0f;
Delta() {}
Delta(float x, float y) : x(x), y(y) {}
};
public:
float getDeltaTime();
virtual ~ITurnInput();
virtual Delta getTurnDelta() = 0;
private:
float m_prevTime = -1.0f;
};