ccluri/Moogli — pull request #13 by aviralg (2013-09-18 10:41:05+00:00)
Title: Dev

Change 1

python ./test.py
Traceback (most recent call last):
File "./test.py", line 1, in
from moogli import Moogli
File "/home/aviral/Projects/Moogli/moogli.py", line 2, in
from canvas import GLCanvas
File "/home/aviral/Projects/Moogli/canvas.py", line 20, in
from PyQGLViewer import *
ImportError: /usr/lib/libQGLViewer.so.2: undefined symbol: gluCylinder

The above traceback was the reason to swap imports in canvas.py. Loading opengl before pyqglviewer solves the issue.

Change 2

Added colors to Line API. test.py shows how the api can be used.