Cambio l’ordine delle trasformazioni: prima sposto il cono in alto, poi entrambi in basso.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#VRML V2.0 utf8 Transform{translation 0 -1 0 children[Shape{appearance Appearance{material Material{emissiveColor 0 0 1}} geometry Cylinder {radius 1 height 3} } Transform{translation 0 2.5 0 children[Shape{appearance Appearance{material Material{emissiveColor 1 0 0}} geometry Cone{bottomRadius 1.5 height 2} } ] } ] } |