Fixed wrong parameter order in StarStream.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
1e58b3c47d
commit
93c8ab96f1
|
@ -143,7 +143,7 @@ public class StarStream {
|
||||||
int angle = (int) getGaussian(0, 22.5);
|
int angle = (int) getGaussian(0, 22.5);
|
||||||
AnimationEquation eqn = random.nextBoolean() ? AnimationEquation.IN_OUT_QUAD : AnimationEquation.OUT_QUAD;
|
AnimationEquation eqn = random.nextBoolean() ? AnimationEquation.IN_OUT_QUAD : AnimationEquation.OUT_QUAD;
|
||||||
|
|
||||||
stars.add(new Star(duration, distance, angle, yOffset, eqn));
|
stars.add(new Star(duration, distance, yOffset, angle, eqn));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user