vr2-5-09.wrl


[ VRML source code ]

#VRML V2.0 utf8
#vr2-5-09.wrl
Background {
  skyColor [ 0.5 0.5 0.5 ]
}
Viewpoint { position 0 0 40 }
Group {
  children [
    DEF POWER TouchSensor {}
    Inline { url "vr2-4-06.wrl" }
  ]
}
DEF LIGHT PointLight {
  on	FALSE
  location	50 0 50
}
ROUTE POWER.isActive TO LIGHT.set_on