Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Nov 5, 2023
1 parent e91c489 commit 8e0943f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions indigo/physics/src/main/scala/example/PhysicsScene.scala
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ object BoxesScene extends PhysicsScene:
.withVelocity(dice.roll(200) - 100, -dice.roll(350))
}

World.empty[MyTag]
World
.empty[MyTag]
.addForces(Vector2(0, 600))
.withResistance(Resistance(0.01))
.withColliders(
Expand Down Expand Up @@ -99,7 +100,8 @@ object BoxesAndBallsScene extends PhysicsScene:
.withRestitution(Restitution(0.7))
}

World.empty[MyTag]
World
.empty[MyTag]
.addForces(Vector2(0, 600))
.withResistance(Resistance(0.01))
.withColliders(
Expand Down

0 comments on commit 8e0943f

Please sign in to comment.