Table of contents Chapter index Previous slide Next slide 108
A sample use of node names

Naming nodes
A sample use of node names
Inline { url "table.wrl" }

Transform {

    translation 0.95 0.0 0.0

    children DEF Chair Inline { url "chair.wrl" }

}

Transform {

    translation -0.95 0.0 0.0

    rotation 0.0 1.0 0.0 3.14

    children USE Chair

}

Transform {

    translation 0.0 0.0 0.95

    rotation 0.0 1.0 0.0 -1.57

    children USE Chair

}

Transform {

    translation 0.0 0.0 -0.95

    rotation 0.0 1.0 0.0 1.57

    children USE Chair

}