summaryrefslogtreecommitdiffhomepage
path: root/src/physac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/physac.h')
-rw-r--r--src/physac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/physac.h b/src/physac.h
index d9b534b5..f03074dd 100644
--- a/src/physac.h
+++ b/src/physac.h
@@ -407,8 +407,8 @@ PHYSACDEF PhysicsBody CreatePhysicsBodyRectangle(Vector2 pos, float width, float
newBody->id = newId;
newBody->enabled = true;
newBody->position = pos;
- newBody->velocity = (Vector2){ 0.0f };
- newBody->force = (Vector2){ 0.0f };
+ newBody->velocity = (Vector2){ 0.0f, 0.0f };
+ newBody->force = (Vector2){ 0.0f, 0.0f };
newBody->angularVelocity = 0.0f;
newBody->torque = 0.0f;
newBody->orient = 0.0f;