#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 169
// 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
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
OpenGL的字体
opengl font
2023-05-10 09:00:03下载
积分:1
C语言指纹识别源码
很好的C语言指纹识别程序,指纹增强程序,怎样细化一个指纹图像,计算有效的指纹区域,包含了指纹识别中各种算法的实现代码,该部分的代码由C写成。通过了测试。
2022-03-11 21:30:49下载
积分:1
openGL下怎么做图 一 视窗的制作和显示
openGL下怎么做图一 视窗的制作和显示-how to do a map window and display production
2023-08-20 14:20:03下载
积分:1
利用OpenGL实现GPU和三
使用GPU和OpenGL实现的三维水波模拟,借助纹理映射模拟水波的倒影。-The use of GPU and OpenGL realize three-dimensional wave simulation, using texture mapping of the reflection wave simulation.
2022-08-08 02:51:03下载
积分:1
C60 demo, you can manually rotate freely, but also some other geometric object.
C60演示,可以手动自由旋转,还包括其他一些几何对象。-C60 demo, you can manually rotate freely, but also some other geometric object.
2023-05-30 14:45:02下载
积分:1
OpenGL, Visual C++
一个带有经纬线的地球模型,通过mouse function能够朝各个方向旋转...
OpenGL, Visual C++
一个带有经纬线的地球模型,通过mouse function能够朝各个方向旋转-OpenGL, Visual C with a latitude and longitude lines of the earth model, through the mouse to function in all directions rotation
2022-05-13 14:10:47下载
积分:1
基于MFC的简单vega prime框架下的VC++程序,希望对大家有用
基于MFC的简单vega prime框架下的VC++程序,希望对大家有用-Vega prime based on a simple MFC under the framework of VC++ program, hope for all of us
2022-12-18 01:05:03下载
积分:1
OpenGL的运动机器人的演示程序,适合初学者使用,基于W ..
OpenGL的运动机器人演示适合初学者使用的程序,基于win32。-Robot movement OpenGL demo program suitable for beginners to use, based on the win32.
2022-02-11 18:01:51下载
积分:1
雪模拟程序使用opengl e详细评论。
下雪模拟程序,采用opengle,有详细的注释。-snow simulation program used opengle a detailed comments.
2022-04-27 21:41:28下载
积分:1
OpenGL package their own categories, simple and practical and can be used to dev...
自己封装的OpenGl类,简单实用,可以用来三维开发-OpenGL package their own categories, simple and practical and can be used to develop three-dimensional
2022-03-13 12:34:45下载
积分:1