交互式图形学-基于OPenGL自顶向下(第五版)课后实例程序全.docVIP

  • 15
  • 0
  • 约6.64万字
  • 约 59页
  • 2017-08-17 发布于河南
  • 举报

交互式图形学-基于OPenGL自顶向下(第五版)课后实例程序全.doc

怎么上传不了啊!!!!! A.1 Sierpinski 镂垫程序 /* two-dimensional Sierpinski gasket */ /* generated using randomly selected vertices */ /* and bisection */ #include GL/glut.h /*you may have to change the include toglut.h or elsewhere depending on where it is stored on your system */ /* glut.h usually has included for gl.h and glu.h */ void myinit(void) { /* attributes */ glClearColor(1.0, 1.0, 1.0, 1.0); /* white background */ glColor3f(1.0, 0.0, 0.0); /* draw in red */ /* set up viewing */ /* 50.0 × 50.0 camera coordinate window with origin lowe

文档评论(0)

1亿VIP精品文档

相关文档