This file is indexed.

/usr/share/doc/python-glitch/examples/cameratexture.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
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import glitch, glitch.glut
from glitch.limbo.lights import LightSwitch, AmbientLight, DiffuseLight
from glitch.limbo.objects import make_test_scene

def make_scene(children):
    return LightSwitch(children=[
        AmbientLight(intensity=0.4, children=[
            DiffuseLight(intensity=0.4, children=children)])])

if __name__ == '__main__':
    texture1 = glitch.CameraTexture(800, 600, eye=[0, 0.5, 3],
        children=[make_scene([make_test_scene()])])
    texture2 = glitch.CameraTexture(800, 600, eye=[0, 0.5, 3], children=[
        make_scene([
            make_test_scene(),
            glitch.Translate(-1.5, -1.5, z=-1.4, children=[
                glitch.Scale(3, 3, children=[
                    glitch.ApplyTexture(texture1,
                        children=[glitch.TexturedRectangle()])])])])])
    camera = glitch.glut.GLUTCamera(eye=[0, 0.5, 3], children=[
        make_scene([make_test_scene(),
            glitch.Translate(-1.5, -1.5, z=-1.4, children=[
                glitch.Scale(3, 3, children=[
                    glitch.ApplyTexture(texture2,
                        children=[glitch.TexturedRectangle()])])])])])
    camera.run()