GLUT provides functions with no parameters and pre – assigned radii for these Objects. The pre – assigned radii of Dodecahedron, Octahedron, Tetrahedron and Icosahedrons are, respectively, sqrt(3), 1, sqrt(3), 1. The syntax of each object is given below
| Dodecahedron |
| void glutSolidDodecahedron (void); |
| void glutWireDodecahedron (void); |
| Octahedron |
| void glutSolidOctahedron (void); |
| void glutWireOctahedron (void); |
| Tetrahedron |
| void glutSolidTetrahedron (void); |
| void glutWireTetrahedron (void); |
| Icosahedrons |
| void glutSolidIcosahedron (void); |
| void glutWireIcosahedron (void); |
تعليقات: 0
إرسال تعليق