diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-05-06 16:34:12 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-05-06 16:34:12 -0400 |
commit | 6ec17f90b2c3a5a113dc839c32e9200a17a8aa21 (patch) | |
tree | b50855a488ffb09eb38e6bcaa7c712adc11ef4e3 /model_c2rs.py | |
parent | f2649a1733ba9ace0e4cb2f8dd95371cad370456 (diff) | |
download | exuberant-hacks-6ec17f90b2c3a5a113dc839c32e9200a17a8aa21.tar.gz exuberant-hacks-6ec17f90b2c3a5a113dc839c32e9200a17a8aa21.zip |
fixed up model_c2rs so hide works
Diffstat (limited to 'model_c2rs.py')
-rwxr-xr-x | model_c2rs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/model_c2rs.py b/model_c2rs.py index ee2e0df..bd0ba82 100755 --- a/model_c2rs.py +++ b/model_c2rs.py @@ -17,10 +17,11 @@ def main(): if line.count(",") != 6: continue nums = line.strip().split(",")[:-1] + nums = [n.find(".") != -1 and n or n+".0" for n in nums] #print(nums) assert(len(nums) == 6) - vertices.append(nums[:3]) - normals.append(nums[3:]) + normals.append(nums[:3]) + vertices.append(nums[3:]) infile.close() outfile.write(""" |