Skip to content

Commit 27573f5

Browse files
author
Jarrod Overson
committed
changed default particle size
1 parent 63579fb commit 27573f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/gui.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ define(['examples','lib/Vector','lib/Particle','lib/Field','lib/Emitter'], funct
149149
this.display.draw.continuous = parts[0] === '1' ? true : false;
150150
//drawStyle.setValue(parts[1]);
151151
if (parts[2]) this.controllers.drawColor.setValue(parts[2].split('|'));
152-
this.controllers.particleSize.setValue(parts[3] || 1);
152+
this.controllers.particleSize.setValue(parts[3] || 2);
153153
},
154154
getCustomState : function() {
155155
var parts = [

js/lib/Particle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ define(['lib/Vector'],function(Vector){
1212
this.lived = 0;
1313
}
1414

15-
Particle.size = 1;
15+
Particle.size = 2;
1616
Particle.color = [66,167,222,255];
1717
//Particle.GLOBAL_DRAW_COLOR = [166,67,0,255];
1818

0 commit comments

Comments
 (0)