fogleman / pg

Python OpenGL Graphics Framework

Home Page:http://pg.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

examples/gusev list index out of bounds

stuaxo opened this issue · comments

python examples/gusev.py 
Traceback (most recent call last):
  File "examples/gusev.py", line 52, in <module>
    pg.run(Window)
  File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/pg-0.1-py2.7.egg/pg/core.py", line 822, in run
    window = cls(*args, **kwargs)
  File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/pg-0.1-py2.7.egg/pg/core.py", line 613, in __init__
    self.call('setup')
  File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/pg-0.1-py2.7.egg/pg/core.py", line 707, in call
    if getattr(listener, name)(*args, **kwargs):
  File "examples/gusev.py", line 19, in setup
    (x0, y0, z0), (x1, y1, z1) = pg.bounding_box(mesh.positions)
  File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/pg-0.1-py2.7.egg/pg/util.py", line 101, in bounding_box
    (x0, y0, z0) = (x1, y1, z1) = positions[0]
IndexError: list index out of range