Skip to content

Commit e913d9a

Browse files
committed
adjust source formatting
1 parent 98e2f45 commit e913d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/JSRoot3DPainter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@
543543

544544
// create a new mesh with cube geometry
545545
var bin = new THREE.Mesh(new THREE.BoxGeometry(2 * this.size3d / this.nbinsx, wei, 2 * this.size3d / this.nbinsy),
546-
new THREE.MeshLambertMaterial({ color : fillcolor.getHex() }));
546+
new THREE.MeshLambertMaterial({ color : fillcolor.getHex() }));
547547

548548
bin.position.x = this.tx(hh.x);
549549
bin.position.y = wei / 2;
@@ -801,7 +801,7 @@
801801
wei = (this.options.Color > 0 ? this.gmaxbin : bins[i].n);
802802
if (this.options.Box == 11) {
803803
bin = new THREE.Mesh(new THREE.SphereGeometry(0.5 * wei * constx),
804-
new THREE.MeshPhongMaterial({ color : fillcolor.getHex(), specular : 0x4f4f4f }));
804+
new THREE.MeshPhongMaterial({ color : fillcolor.getHex(), specular : 0x4f4f4f }));
805805
} else {
806806
bin = new THREE.Mesh(new THREE.BoxGeometry(wei * constx, wei * constz, wei * consty),
807807
new THREE.MeshLambertMaterial({ color : fillcolor.getHex() }));

0 commit comments

Comments
 (0)