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 162
下载积分: 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 个回复

  • 使用openGL绘制简单2d,3d。绘制正弦曲线等数学形。
    使用openGL绘制简单2d,3d图像。绘制正弦曲线等数学图形。-The use of openGL drawing simple 2d, 3d image. Sinusoid, such as rendering graphics mathematics.
    2023-03-30 07:00:04下载
    积分:1
  • 三地茶壶网格
    就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,就是一个简单的网格茶壶源代码,
    2022-11-03 13:35:03下载
    积分:1
  • OpenGL特效:多个镜面的反射效果,可以产生多个镜面产生反射效果...
    OpenGL特效:多个镜面的反射效果,可以产生多个镜面产生反射效果-OpenGL effects : the number of specular reflection effects could have produced a number of specular reflection effects
    2023-08-04 21:10:02下载
    积分:1
  • OpenGL high
    OpenGL高级编程与可视化系统开发(高级编程篇)的随书源码-4,学习OpenGL的好东西-OpenGL Programming and Advanced Visualization System (Advanced Programming Part 1) the source-4 with books, learning the good stuff OpenGL -OpenGL high-level programming and visualization systems development (high-level programming chapter)-4 of the source with the book, learning OpenGL good things-OpenGL Programming and Advanced Visualization System (Advanced Programming Part 1) the source-4 with books, learning the good stuff OpenGL
    2022-01-24 12:58:50下载
    积分:1
  • opengl显示材质贴
    用opengl显示材质贴图-use opengl show material textures
    2022-10-06 22:30:03下载
    积分:1
  • 3D编程 OpenGL 书
    3D编程 OpenGL 书-OpenGL 3D programming book
    2022-04-28 01:02:12下载
    积分:1
  • 球在两个面间的碰撞检测
    一个小球在面上的碰撞检测的样本程序,语句后有注解。大家都知道游戏碰撞的基本处理方式也就莫过于几种:矩形碰撞,圆形碰撞,线性碰撞,几何碰撞,像素碰撞.以上几种碰撞处理方法从效率的角度来看,前两种检测方式是相当快的,但是适用面很窄!它们只能运用于碰撞检测精度不高的游戏中。这里用的是圆形检测。
    2022-12-03 06:35:03下载
    积分:1
  • 矩形绘
    它是一个非常好的矩形绘图程序。 在此程序中,我用了一些 OpenGl 例程,我也有一些 OpenGL 库因为仅在包含这些库时,可以运行这些图形程序。 它是对 dram 一个完美的矩形短的程序。 它绘制矩形没有任何错误。
    2022-02-22 03:33:07下载
    积分:1
  • openGL源代码,实现了在一个立方体上进行纹理渲染
    openGL源代码,实现了在一个立方体上进行纹理渲染-openGL source code, realized in a cube texture rendering
    2022-06-26 03:55:45下载
    积分:1
  • 使用opengl开发的天空和水的效果,内附源码
    使用opengl开发的天空和水的效果,内附源码-Use opengl development of the effects of sky and water, enclosing the source
    2022-03-22 15:53:07下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载