Debian Codegraph @

models/vrml97/sensors/touch_and_fan_in.wrl

raw
1 #VRML V2.0 utf8
2
3 # a simple touch sensor test which also tests fan-in. Move
4 # the mouse over any of the cubes and the sphere should
5 # move according to the (local) hitPoint on the cube.
6
7 Transform {
8 children [ Box { }, DEF A TouchSensor {} ]
9 }
10
11 Transform {
12 translation 0 8 0
13 children [ Box { }, DEF B TouchSensor {} ]
14 }
15
16 Transform {
17 translation 0 4 0
18 children [
19 DEF C Transform {
20 translation 0 0 0
21 children [Sphere {} ]
22 }
23 ]
24 }
25
26 ROUTE A.hitPoint_changed TO C.translation
27 ROUTE B.hitPoint_changed TO C.translation
28