diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-06-20 16:33:59 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-06-20 16:33:59 -0400 |
commit | 5b6ddaadfbcea436dfdc1e736f7da7763438dc45 (patch) | |
tree | 27d3f4d3903d2cd00449026acd23ad6de1419cd5 /detectors/lbne.py | |
parent | a149f96a766c4d8d63919535cc468c539036165e (diff) | |
download | chroma-5b6ddaadfbcea436dfdc1e736f7da7763438dc45.tar.gz chroma-5b6ddaadfbcea436dfdc1e736f7da7763438dc45.tar.bz2 chroma-5b6ddaadfbcea436dfdc1e736f7da7763438dc45.zip |
pack material and surface indices into the fourth byte of the triangle array on the GPU. you can now take a screenshot of an image rendered with view.py() by pressing the f12 key.
Diffstat (limited to 'detectors/lbne.py')
-rw-r--r-- | detectors/lbne.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/detectors/lbne.py b/detectors/lbne.py index 7f1bb41..04751e6 100644 --- a/detectors/lbne.py +++ b/detectors/lbne.py @@ -13,16 +13,8 @@ from transform import rotate, make_rotation_matrix from itertools import product import make -endcap_spacing = .485 - -radius = 25.0/10.0 -height = 50.0/10.0 - -nstrings = 324//10 -pmts_per_string = 102//10 - class LBNE(Geometry): - def __init__(self): + def __init__(self, radius, height, nstrings, pmts_per_string, endcap_spacing): super(LBNE, self).__init__() # outer cylinder |