#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 179
// 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
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
nehe的opengl 教程第45课,nehe的教程十分出名,是初学者必备
nehe的opengl教程第45课,nehe的教程十分出名,是初学者必备-opengl tutorial nehe of the 45th Division, nehe the tutorial is very well known, is essential for beginners
2023-03-21 21:05:04下载
积分:1
可以在opengl 中实现实时动画,是学习计算机图 形学的一个非常好的实例。配合教材更好。...
可以在opengl中实现实时动画,是学习计算机图形学的一个非常好的实例。配合教材更好。-implement animation in opengl. It is a good example to study this software together with textbook.
2022-02-22 01:17:18下载
积分:1
OpenGL MUST Project 1[Polyline Editor] use Array of C++
// 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
2022-05-15 00:12:34下载
积分:1
OpenGL中如何读bmp文件,和把视窗中的图 存储为bmp文件。
OpenGL中如何读bmp文件,和把视窗中的图存储为bmp文件。-OpenGL How to read bmp file, and the window of the map stored as bmp files.
2022-03-25 13:11:59下载
积分:1
这是OPENGL和VC++制作的3D游戏场景片段,里面制作了3D水,和烟雾特效.也对贴图 进行了各向异性的优化....
这是OPENGL和VC++制作的3D游戏场景片段,里面制作了3D水,和烟雾特效.也对贴图进行了各向异性的优化.-VC production and OpenGL 3D game scenes footage, which produced a 3D water, and smoke effects. Texture is right for the optimization of anisotropic.
2022-02-01 20:37:51下载
积分:1
OpenGL程序,一个机器人,可以设定他的手脚动作,然后加以实现...
OpenGL程序,一个机器人,可以设定他的手脚动作,然后加以实现-OpenGL program, a robot, you can set his hands and legs move, and then be achieved
2023-08-14 08:00:04下载
积分:1
2022-01-25 14:05:45下载
积分:1
openGL开发的烟花源码,很有借鉴价值
openGL开发的烟花源码,很有借鉴价值-openGL development of the fireworks source, a very valuable reference
2022-07-18 23:56:11下载
积分:1
这是OPENGL超级宝典一书的随书光盘,里面涵盖了大部分基于MFC下OPENGL函数库操作的例子,是精通OPENGL编程大好帮手...
这是OPENGL超级宝典一书的随书光盘,里面涵盖了大部分基于MFC下OPENGL函数库操作的例子,是精通OPENGL编程大好帮手-This is a treasury of a Super OpenGL the CD with the book, they cover most of OpenGL-based MFC library operation example, is well versed in OpenGL programming excellent helper
2022-05-26 06:18:35下载
积分:1
wrl浏览器,可以看到wrl数据格式,直接点击安装即可使用
wrl浏览器,可以看到wrl数据格式,直接点击安装即可使用-the viewer of wrl
2022-02-07 11:14:27下载
积分:1