File: text.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 (9 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9

import glitch, glitch.glut
from glitch.cairo import Text

camera = glitch.glut.GLUTCamera(eye=[0.5, 0.5, 1], ref=[0.5, 0.5, 0], children=[
    glitch.ApplyTexture(Text('Hello World!'),
        children=[glitch.TexturedRectangle()])])
camera.run()