File: fog.py

package info (click to toggle)
glitch 0.6-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 488 kB
  • sloc: python: 3,432; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9

import glitch, glitch.glut
from glitch.limbo.fog import Fog
from glitch.limbo.objects import make_lit_test_scene

camera = glitch.glut.GLUTCamera(eye=[0, 2, 3], children=[
        Fog(children=[make_lit_test_scene()])])
camera.run()