Package examples :: Module simple
[hide private]
[frames] | no frames]

Module simple

source code

Simple example displaying a rotating quad.


Author: Stephan Wenger

Date: 2012-02-29

Classes [hide private]
  SimpleExample
Variables [hide private]
  vertices = ((0, 0, 0), (-1, 1, 0), (1, 1, 0), (1, -1, 0), (-1,...
  colors = ((1, 1, 1), (0, 1, 0), (0, 0, 1), (0, 1, 1), (1, 0, 0))
  indices = ((0, 1, 2), (0, 2, 3), (0, 3, 4), (0, 4, 1))
  __package__ = 'examples'
Variables Details [hide private]

vertices

Value:
((0, 0, 0), (-1, 1, 0), (1, 1, 0), (1, -1, 0), (-1, -1, 0))