File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 663 . Fix - correctly draw empty th2 bins when zmin<0 is specified
774 . Fix - limit th2 text output size
885 . Fix - use histogram fMinimum/fMaximum when drawing z axis in lego plot
9+ 6 . Fix - error in TGeoCtub shape creation
910
1011
1112## Changes in 4.5.1
Original file line number Diff line number Diff line change 371371 if ( shape . _typename == "TGeoCtub" )
372372 for ( var n = 0 ; n < geometry . vertices . length ; ++ n ) {
373373 var vertex = geometry . vertices [ n ] ;
374- if ( vertex . z < 0 ) vertex . z = - shape . fDz - ( vertex . x * shape . fNlow [ 0 ] + vertex . x * shape . fNlow [ 1 ] ) / shape . fNlow [ 2 ] ;
375- else vertex . z = shape . fDz - ( vertex . y * shape . fNhigh [ 0 ] + vertex . y * shape . fNhigh [ 1 ] ) / shape . fNhigh [ 2 ] ;
374+ if ( vertex . z < 0 ) vertex . z = - shape . fDz - ( vertex . x * shape . fNlow [ 0 ] + vertex . y * shape . fNlow [ 1 ] ) / shape . fNlow [ 2 ] ;
375+ else vertex . z = shape . fDz - ( vertex . x * shape . fNhigh [ 0 ] + vertex . y * shape . fNhigh [ 1 ] ) / shape . fNhigh [ 2 ] ;
376376 }
377377
378378 var color = new THREE . Color ( ) ; // make dummy color for all faces
You can’t perform that action at this time.
0 commit comments