feat: acceleration, mass, mouvement cube
implementation de l'acceleration, de la masse (je sais pas si c'est une bonne facon de faire mais on va dire oui) mouvements avec un code tres sale dans application class frame
This commit is contained in:
@@ -14,6 +14,7 @@ public:
|
||||
void SetGravity(XMVECTOR gravity); // Define the gravity value
|
||||
void ApplyGravity(Object*, float); // Apply gravity to an object
|
||||
void ApplyDrag(Object*, float, float);
|
||||
void ApplyForce(Object*, XMVECTOR);
|
||||
|
||||
private:
|
||||
XMVECTOR m_gravity;
|
||||
|
||||
Reference in New Issue
Block a user