/usr/share/doc/python-glitch/examples/shader.py is in python-glitch 0.6-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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()
|