#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 192
// 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-This is used c++ Do run a small game dynamic! Ha ha hope like!
2022-03-18 04:05:28下载
积分:1
OpenGL Guide (NEHE) source code of my learning process, the OpenGL you grasp the...
OpenGL教程(NEHE)源代码的本人学习过程,教你快速掌握OpenGL的基本工作原理和过程。-OpenGL Guide (NEHE) source code of my learning process, the OpenGL you grasp the basic principle and processes.
2023-01-29 22:35:03下载
积分:1
OPENGL参考手册,游戏开发者必备之参考指南
OPENGL参考手册,游戏开发者必备之参考指南-OpenGL Reference Manual, the essential game development Reference Guide
2022-01-20 22:49:46下载
积分:1
Glut dlls for image process
Glut dlls for image proce-Glut dlls for image process
2022-04-12 11:07:17下载
积分:1
用opengl 和visual c++ 实现的例子系统的演示,漂亮的烟花效果
用opengl和visual c++ 实现的例子系统的演示,漂亮的烟花效果-use opengl and visual realization of the c examples of the display system, the beautiful effect of fireworks
2023-06-07 05:55:03下载
积分:1
This is a mixed color on the three
这是一个关于三维颜色混合的很不错的例子,本人编译过了,没有问题。-This is a mixed color on the three-dimensional example of very good, I had to compile, no problem.
2022-01-26 02:07:31下载
积分:1
一个OpenGL例子,我学了一下OpenGL,写了这个代码。
一个OpenGL例子,我学了一下OpenGL,写了这个代码。-An OpenGL example, I learned about OpenGL, wrote this code.
2022-05-14 07:29:07下载
积分:1
很好的车辆程序,使用图 形系列,真的很不错哦
很不错的汽车程序,用图形学编的,真的很不错哦-very good vehicle procedures, the use of graphics series, is really quite oh
2022-02-02 06:51:20下载
积分:1
本科毕业论文边缘检测算法
1、实现边缘检测算子功能:
通过Visual C++6.0来实现边缘检测算子的功能,先对Sobel算子、Prewitt算子、Roberts算子等进行函数定义,然后再进行函数调用,就可以得到边缘检测的不同效果。
2、比较分析边缘检测算子,得出适合应用与TIP技术中的算子:
比较各种边缘检测算子得到的边缘检测图像,选择适合在TIP技术中实现的边缘检测算法,自动提取前景掩模与背景图像。
2022-04-29 10:40:09下载
积分:1
此VC_0pengl程序对地球进行了模拟
此VC_0pengl程序对地球进行了模拟-this VC_0pengl procedures for the simulation of the Earth
2022-02-01 10:52:15下载
积分:1