#include#includeGLintploypoint=0;GLintployline=-1;GLintheight;GLintchoose=0;GLintmove_ployline,move_ploypoint;structPoint{ intx; inty;};structGLintPointArray{ Pointpoint[60];};GLintPointArrayploy[60];voiddrawPointLine(){ for(inti=0;i<=ployline;i++) { glBegin(GL_LINE_STRIP); for(intk=0;k<60;k++) { if(ploy[i].point[k].x!=0&&ploy[i].point[k].y!=0) glVertex2i(ploy[i].point[k].x,ploy[i].point[k].y); } g-IMDN开发者社群-imdn.cn">
#include#includeGLintploypoint=0;GLintployline=-1;GLintheight;GLintchoose=0;GLintmove_ployline,move_ploypoint;structPoint{ intx; inty;};structGLintPointArray{ Pointpoint[60];};GLintPointArrayploy[60];voiddrawPointLine(){ for(inti=0;i<=ployline;i++) { glBegin(GL_LINE_STRIP); for(intk=0;k<60;k++) { if(ploy[i].point[k].x!=0&&ploy[i].point[k].y!=0) glVertex2i(ploy[i].point[k].x,ploy[i].point[k].y); } g - IMDN开发者社群-imdn.cn">
首页 »
OpenGL图像 »
OpenGL MUST Project 1[Polyline Editor] use Array of C++
于 2022-05-15 发布
文件大小:1.42 kB
0 197
// student name:
// student ID:
// date:
/*#include "D:HomeworkOpenGLFinalCGLabGLUT_Toolkitglut.h"*/
#include
#include
#include
GLint ploypoint = 0;
GLint ployline=-1;
GLint height;
GLint choose=0;
GLint move_ployline,move_ploypoint;
struct Point
{
int x;
int y;
};
struct GLintPointArray
{
Point point[60];
};
GLintPointArray ploy[60];
void drawPointLine()
{
for (int i=0;i
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
opgl的三围图 象
opgl的三围图象-opgl the Body Image
2022-10-04 00:35:02下载
积分:1
图 形识别系统,支持windows以及linux系统,是好东西啊,对学习图 形编程很有帮助...
图形识别系统,支持windows以及linux系统,是好东西啊,对学习图形编程很有帮助-pattern recognition system, support windows and linux system is something good ah, to learn graphical programming helpful
2022-05-28 08:16:11下载
积分:1
讷河
nehe-opengl-1-5
2022-06-30 22:50:21下载
积分:1
OpenGL实现旋转、平移、缩放与贴图
OpenGL立方体在世界坐标系中实现缩放、旋转、平移、顶点片源着色器、光照作用、棋盘纹理贴
2022-04-06 19:31:56下载
积分:1
C++Builder环境下基于OpenGL的动画编程
C++Builder环境下基于OpenGL的动画编程-C Builder environment OpenGL-based animation programming
2022-03-07 10:19:01下载
积分:1
OpenGL入门实例。囊括各章节源代码。
OpenGL入门实例。囊括各章节源代码。-Getting Started with OpenGL examples. The chapters include the source code.
2022-04-10 22:32:41下载
积分:1
NeHe教程的源码
NeHe教程的源码-NeHe course source code
2022-07-04 14:37:01下载
积分:1
OpenGL图 像 编程的代码,一本不错的书的源代码,可惜没下载到书。希望代码可供大家学习...
OpenGL图像编程的代码,一本不错的书的源代码,可惜没下载到书。希望代码可供大家学习-OpenGL graphics programming code, a good book" s source code, unfortunately did not download the book. Hope that the code for them to learn from
2022-10-15 02:15:03下载
积分:1
ROAM实时LOD地形
MS Visual C + + 6项目文件。需要大量的DLL(www.opengl
2022-03-28 17:20:43下载
积分:1
这是OPENGL和VC++制作的3D文件载入演示.载入的是.ase文件,同时还做了多个贴图 ....
这是OPENGL和VC++制作的3D文件载入演示.载入的是.ase文件,同时还做了多个贴图.-This is the VC and OpenGL 3D production of documents included in the demonstration. Contained yes. Ase documents, also done a number of map.
2022-03-15 23:50:37下载
积分:1