next!=NULL)  {   temp=temp->next;   glVertex2i(temp->x,temp->y);  }  glEnd(); }}/*findthepointanddeletethepointfromthelinearray*/voiddelpointFun(intxx,intyy){ for(inti=0;inext!=NULL)  {&n-IMDN开发者社群-imdn.cn"> next!=NULL)  {   temp=temp->next;   glVertex2i(temp->x,temp->y);  }  glEnd(); }}/*findthepointanddeletethepointfromthelinearray*/voiddelpointFun(intxx,intyy){ for(inti=0;inext!=NULL)  {&n - IMDN开发者社群-imdn.cn">
登录
首页 » OpenGL图像 » OpenGL MUST Project 1[Polyline Editor] use linked list of C++

OpenGL MUST Project 1[Polyline Editor] use linked list of C++

于 2022-01-31 发布 文件大小:2.17 kB
0 51
下载积分: 2 下载次数: 1

代码说明:

#include #include #include #include #include "point.h" /*draw line from the line array*/ void drawPointLine() {  Node * temp;  for (int i=0;inext!=NULL)   {    temp=temp->next;    glVertex2i(temp->x,temp->y);   }   glEnd();  } } /*find the point and delete the point from the line array*/ void delpointFun(int xx,int yy) {  for (int i=0;inext!=NULL)   {&n

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104027会员总数
  • 45今日下载