CREATES A DODECAHEDRON AND GIVES IT THE NUMBER N AS REFERENCE
ACTION
The command 3D_DODECAHEDRON N creates a dodecahedron and gives it a number N.
The number N is used to designate the dodecahedron.
The center of the dodecahedron is placed in (0,0,0) : the center of the 3D world (SCENE3D).
The color of the dodecahedron is gray at creation and can be modified by the command 3D_COLOR.
The dodecahedron can be then moved, rotated, scaled, colored, textured, deleted, hidden, showed with appropriated commands.
Remark 1: the dodecahedron is created with its predefined size, and can be resized by 3D_X_SCALE, 3D_Y_SCALE, 3D_Z_SCALE.
Remark 2: by default, the dodecahedron is created in the first created SCENE3D, but another SCENE3D can be used. For that, create a new SCENE3D, and send it all the commands by 3D_TARGET_IS before creating the dodecahedron.
SYNTAX:
3D_DODECAHEDRON N
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem create a dodecahedron number 1
3d_dodecahedron 1
3D_DODECAHEDRON
3D_DODECAHEDRON N
SEE ALSO
3D_COLOR
3D_DELETE
3D_DELETE_ALL
3D_LOAD_TEXTURE
3D_HIDE
3D_SHOW
3D_TARGET_IS
3D_X_POSITION
3D_Y_POSITION
3D_Z_POSITION
3D_X_ROTATE
3D_Y_ROTATE
3D_Z_ROTATE
3D_X_SCALE
3D_Y_SCALE
3D_Z_SCALE