File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 344344
345345 var newtop = new THREE . Object3D ( ) ;
346346
347- newtop . rotation . x = this . toplevel . rotation . x ;
348- newtop . rotation . y = this . toplevel . rotation . y ;
349-
350347 this . scene . remove ( this . toplevel ) ;
351348
352349 this . scene . add ( newtop ) ;
365362 //scene.fog = new THREE.Fog(0xffffff, 500, 3000);
366363
367364 this . toplevel = new THREE . Object3D ( ) ;
368- //this.toplevel.rotation.x = 30 * Math.PI / 180;
369- //this.toplevel.rotation.y = 30 * Math.PI / 180;
370365 this . scene . add ( this . toplevel ) ;
371366 this . scene_width = size . width ;
372367 this . scene_height = size . height
418413 }
419414
420415 if ( tip !== null ) {
421- var delta = 1e-5 * painter . size3d ;
416+ var delta = 1e-4 * painter . size3d ;
422417 if ( ( tip . x1 > tip . x2 ) || ( tip . y1 > tip . y2 ) || ( tip . z1 > tip . z2 ) ) console . warn ( 'check 3D hints coordinates' ) ;
423418 tip . x1 -= delta ; tip . x2 += delta ;
424419 tip . y1 -= delta ; tip . y2 += delta ;
You can’t perform that action at this time.
0 commit comments