File: boxes.x3dv

package info (click to toggle)
castle-game-engine 6.4%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 194,520 kB
  • sloc: pascal: 364,585; ansic: 8,606; java: 2,851; objc: 2,601; cpp: 1,412; xml: 851; makefile: 725; sh: 563; php: 26
file content (16 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#X3D V3.2 utf8
PROFILE Interchange

# Note that change_vrml_by_code.lpr depends on this,
# (we could alternatively call Scene.ResetWorldTime(0) in change_vrml_by_code
# after loading), otherwise Scene.WorldTime.Seconds is wildly large.
KambiNavigationInfo { timeOriginAtLoad TRUE }

DEF Box1 Shape {
  appearance Appearance { material Material { } }
  geometry Box { size 1 10 1 }
}

DEF Box2Transform Transform { translation 2 0 0 rotation 1 0 0 0 children USE Box1 }
DEF Box3Transform Transform { translation 4 0 0 rotation 1 0 0 0 children USE Box1 }
DEF Box4Transform Transform { translation 6 0 0 rotation 1 0 0 0 children USE Box1 }