#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 181
// 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
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
汉化特别版为DirectX和OpenGL游戏设计的通用工具
汉化特别版为DirectX和OpenGL游戏设计的通用工具-Speaking of special edition for DirectX and OpenGL games designed for general-purpose tool
2022-02-05 04:53:14下载
积分:1
The concept of particle effects is very simple. Particle effects can be used to...
The concept of particle effects is very simple. Particle effects can be used to simulate fire, fireworks, water fountains, snow, rain, explosions and many other things. The effects are created by creating a definite number of particles. Depending on the need for performance and realistic appearance, the number of particles can range from 50 to thousands. Each particle has its own location, size, velocity, color, life and image. The particle engine controls the particles and makes them react according to the rules of the particle .
2022-02-24 16:10:50下载
积分:1
OpenGL 作图 例子
OpenGL 作图例子 - 圆环.rar-OpenGL graphic example- circle. Rar
2022-03-26 17:25:46下载
积分:1
OpenGL代码,NEHE的。 实现用鼠标旋转选中的球体的功能。
OpenGL代码,NEHE的。 实现用鼠标旋转选中的球体的功能。-OpenGL code, the NEHE. Achieving selected with the mouse rotating spherical functions.
2022-07-21 21:03:34下载
积分:1
Avus盒式BE0749.part02游戏软件
Avus Cassette BE0749.part02 game software
the game software
game software
game software
the game software
game software
2022-06-12 07:31:16下载
积分:1
如何开发OPENGL程序的基本方法之五,如何加入二维纹理的多边形....
如何开发OPENGL程序的基本方法之五,如何加入二维纹理的多边形.-OPENGL procedures how to develop the five basic methods, how to join the two-dimensional texture of the polygon.
2022-03-22 05:39:14下载
积分:1
OpenGL domain collision effects demo
OPENGL入门之 碰撞效果演示-OpenGL domain collision effects demo
2022-03-23 03:15:50下载
积分:1
一个简单的固定视角的圆柱
一个简单的固定视角的圆柱-a simple cylindrical fixed Perspective
2022-02-20 20:02:40下载
积分:1
四球闪电…
Four Sphere Lightning -Four Sphere Lightning ...
2023-01-23 03:05:05下载
积分:1
三维虚拟人脸点云(人脸换肤)
三维虚拟人脸点云(人脸换肤), 利用vc++和 opengl函数库制作的3维虚拟人脸,可以更换皮肤!
2022-01-24 15:45:32下载
积分:1