Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -39,10 +39,10 @@ inline void set_plotter_camera(float a_XSIZ,float a_YSIZ,float a_ZSIZ,
|
||||
// and plotter XSIZ matches viewport width.
|
||||
// It it the CERN-ROOT and osc-plot logic.
|
||||
if(aspect>=1) { //w>h
|
||||
//Camera must match in height YSIZ. Adjust XSIZ.
|
||||
// camera must match in height YSIZ. Adjust XSIZ.
|
||||
a_plotter.width.value(YSIZ * aspect);
|
||||
} else {
|
||||
//Camera must match in width XSIZ. Adjust YSIZ.
|
||||
// camera must match in width XSIZ. Adjust YSIZ.
|
||||
a_plotter.height.value(XSIZ / aspect);
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user