File: shader.py

package info (click to toggle)
glitch 0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 488 kB
  • ctags: 649
  • sloc: python: 3,432; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
import glitch, glitch.glut, glitch.limbo.objects

if __name__ == '__main__':
    camera = glitch.glut.GLUTCamera(eye=[0, 0, 5], ref=[0, 0, 0],
        children=[glitch.Shader(children=[glitch.limbo.objects.ColorfulTriangle()])])
    camera.run()