Skip to content

Commit

Permalink
Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrypula committed Dec 29, 2019
1 parent 0077711 commit f5c63c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/examples/example-advanced-apollo-free-return.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ export class ExampleAdvancedApolloFreeReturn extends AbstractExample {

if (apolloAltitudeEarth < 1e6) {
this.world.physics.timeWarp = 30;
this.world.viewport.zoom = 100 * 136 / 1e10;
this.world.viewport.zoom = (100 * 136) / 1e10;
} else if (apolloAltitudeMoon < 10e6) {
this.world.physics.timeWarp = 60 * 10;
this.world.viewport.zoom = 10 * 136 / 1e10;
this.world.viewport.zoom = (10 * 136) / 1e10;
} else {
this.world.physics.timeWarp = 3600 * 2;
this.world.viewport.zoom = 1.2 * 136 / 1e10;
this.world.viewport.zoom = (1.2 * 136) / 1e10;
}

this.closestMoonApproach = Math.min(this.closestMoonApproach, apolloAltitudeMoon);
Expand Down

0 comments on commit f5c63c2

Please sign in to comment.