3DPositioning
代码说明:
this program is to model transformations in 3D using GLUI. This program will draw axes and a variety of wireframe shapes in 3D. In addition, the program will have to allow the user to position these objects in space using translation, rotation and scaling about the x, y, and z axes. (New Torus creates a torus at the origin New Teapot creates a teapot at the origin TranslateX a way to specify a translation in the x direction TranslateY a way to specify a translation in the y direction TranslateZ a way to specify a translation in the z direction (these translations can be explicit (e.g.+2 in x,-2 in x),or interactive (using the glui translators for example) (TRANSLATION SHOULD ALWAYS BE ALONG THE WORLD AXIS) RotateX a way to specify a rotation about the x axis RotateY a way to specify a rotation about the y axis RotateZ a way to specify a rotation about the z axis (t)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!