Description: 画出椭圆。其中用到opengl的画点函数,其余是普通的C++代码-Draw an oval. Which uses opengl for drawing point function, and the rest is ordinary C++ Code Platform: |
Size: 1024 |
Author:feifei |
Hits:
Description: 实验要求:1、分别用圆的参数生成法和Bresenham算法画圆
2、请调用画圆和画椭圆的函数画出右图提示:openGL 里可通过glrotatef函数实现坐标系的旋转,如绕Z轴旋转45度(相当于XY平面内图形绕原点旋转45度)通过glrotatef(45,0,0,1)来实现。
-Experimental requirements: 1, respectively, the parameters used to generate a round and Bresenham algorithm drawcircle 2, call the circle and ellipse drawing function to draw the right tips: openGL in glrotatef function by the rotation of coordinate system, such as around the Z axis Rotate 45 degrees (equivalent to XY-plane graphics rotate 45 degrees around the origin) through glrotatef (45,0,0,1) to achieve. Platform: |
Size: 2089984 |
Author:马卫龙 |
Hits:
Description: 画出椭圆。其中用到opengl的画点函数,其余是普通的C++代码-Draw an oval. Which uses opengl for drawing point function, and the rest is ordinary C++ Code Platform: |
Size: 1024 |
Author:huang08831 |
Hits: