Skip to content

Commit

Permalink
Fixed code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewstart committed Nov 5, 2016
1 parent 1208dc2 commit b70b480
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,14 @@
//set up the start and end values
p.startAlpha = this.startAlpha;
p.endAlpha = this.endAlpha;
if(this.minimumSpeedMultiplier != 1) {
if(this.minimumSpeedMultiplier != 1)
{
rand = Math.random() * (1 - this.minimumSpeedMultiplier) + this.minimumSpeedMultiplier;
p.startSpeed = this.startSpeed * rand;
p.endSpeed = this.endSpeed * rand;
} else {
}
else
{
p.startSpeed = this.startSpeed;
p.endSpeed = this.endSpeed;
}
Expand Down

0 comments on commit b70b480

Please sign in to comment.