Review "aggregate initializations" #1403
This commit is contained in:
parent
a8685ee4fd
commit
a4ea9f872f
8 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue