File: glplus.py

package info (click to toggle)
mgltools-opengltk 1.5.7-1
  • links: PTS, VCS
  • area: non-free
  • in suites: stretch
  • size: 8,592 kB
  • ctags: 38,393
  • sloc: ansic: 98,617; python: 3,818; cpp: 1,943; sh: 1,332; tcl: 1,127; makefile: 65
file content (18 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# copyright_notice
#

"""OpenGL utilities
"""

from opengltk.OpenGL import GL

def DrawArrays( mode, count, first=0):
    """glDrawArrays with default args
    model - GLenum
    count - GLsizei
    first - GLint
    """
    GL.glDrawArrays( mode, first, count)