Skip to content

Commit 665050f

Browse files
authored
Remove redeclaration of loop counter
1 parent 0e1f59b commit 665050f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scene/particle-emitter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ pc.extend(pc, function() {
15091509
for (i = 0; i < this.numParticles; i++) {
15101510
var src = this.vbToSort[i][0] * this.numParticleVerts * 4;
15111511
var dest = i * this.numParticleVerts * 4;
1512-
for (var j = 0; j < this.numParticleVerts * 4; j++) {
1512+
for (j = 0; j < this.numParticleVerts * 4; j++) {
15131513
this.vbCPU[dest + j] = this.vbOld[src + j];
15141514
}
15151515
}

0 commit comments

Comments
 (0)