summaryrefslogtreecommitdiffhomepage
path: root/examples/web/physics/physac.h
diff options
context:
space:
mode:
authorRay <[email protected]>2020-10-05 20:11:54 +0200
committerRay <[email protected]>2020-10-05 20:11:54 +0200
commit55b7b3e82e091906069bb60fa529239358de5f93 (patch)
tree8f6f4e26edd6f5bb01978125d7616d866a29204e /examples/web/physics/physac.h
parent0f62427a0c1ea747a6181a41aef496e389f46e7e (diff)
downloadraylib.com-55b7b3e82e091906069bb60fa529239358de5f93.tar.gz
raylib.com-55b7b3e82e091906069bb60fa529239358de5f93.zip
Review "aggreagate initializations"
Diffstat (limited to 'examples/web/physics/physac.h')
-rw-r--r--examples/web/physics/physac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/web/physics/physac.h b/examples/web/physics/physac.h
index 3fb832b..ed77a3c 100644
--- a/examples/web/physics/physac.h
+++ b/examples/web/physics/physac.h
@@ -391,8 +391,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 };
+ newBody->force = (Vector2){ 0 };
newBody->angularVelocity = 0.0f;
newBody->torque = 0.0f;
newBody->orient = 0.0f;