feat: ajout de la trainee (drag)

j'espere que c'est bien comme ça que ça marche
This commit is contained in:
StratiX0
2024-04-09 12:30:37 +02:00
parent b37f253c5c
commit ebccd2cf68
8 changed files with 67 additions and 15 deletions

View File

@@ -27,6 +27,9 @@ public:
XMVECTOR GetRotation();
XMVECTOR GetScale();
void SetVelocity(XMVECTOR);
XMVECTOR GetVelocity();
void UpdateWorldMatrix();
void UpdateSRMatrix();
void UpdateScaleMatrix();
@@ -40,6 +43,8 @@ public:
public :
bool m_demoSpinning = false;
XMVECTOR m_previousPosition;
XMVECTOR m_velocity;
private:
XMMATRIX m_scaleMatrix;