#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 222
// 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 和c++实现的inverse kinematics程序
使用opengl和c++实现的inverse kinematics程序
2022-02-03 13:38:36下载
积分:1
a Opengl the Fortran
一个基于Fortran的Opengl程序,给出了使用一般Fortran开发Opengl的框架。-a Opengl the Fortran-based procedures, given the use of general Opengl Fortran development framework.
2022-08-13 15:16:08下载
积分:1
这是用opengl 编写的3d迷宫
,读者可以怎加贴图 ,自己设计迷宫样式
加以修饰...
这是用opengl编写的3d迷宫
,读者可以怎加贴图,自己设计迷宫样式
加以修饰-This is opengl prepared by the 3d maze, readers can we increase map. design their own forms to be modified maze
2022-03-22 04:28:11下载
积分:1
程序演示了MFC开发OpenGL的框架,和演示如在OpenGL访问封装在可执行文件中的资源,这一个程序是参考NeHe改写而成,对用MFC写OpenGL程序有很好...
程序演示了MFC开发OpenGL的框架,和演示如在OpenGL访问封装在可执行文件中的资源,这一个程序是参考NeHe改写而成,对用MFC写OpenGL程序有很好指导作用。
-Procedures demonstrated MFC framework for the development of OpenGL and OpenGL demo visit in the executable file in the package of resources, which is a reference to a procedure adapted from NeHe to use MFC to write a good OpenGL program guide.
2023-05-01 19:00:04下载
积分:1
3D粗糙会动机器人
3D粗糙机器人,包括头部,胳膊,腿#include "stdafx.h"
#include
void reshape(int w,int h);
void init();
void display();
void mytime(int value);
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCm
2022-11-10 07:15:04下载
积分:1
OpenGL绘制物体的光下设置
opengl下的设置渲染物体的光照-opengl rendering set up under the light of objects
2022-02-26 05:41:11下载
积分:1
Stock management system
管理您的服务和维修,包括工单、服务计划、服务电话、预防性维护和客户联系信息。服务管理软件是任何面向服务业务的理想免费解决方案。使用php和mysql的基于Web的界面,可以设置为网站的一部分,这样就可以从任何地方访问它。有助于提高服务效率、提高服务质量和优化您的服务操作。
2022-02-13 14:17:33下载
积分:1
几个非常经典的OPENGL的程序
几个非常经典的OPENGL的程序-several very classic OpenGL procedures
2023-05-23 06:15:03下载
积分:1
OPENGL 简单实现
OPENGL 简单实现-OPENGL simple to achieve
2022-01-25 23:02:30下载
积分:1
OPENGL又一小程序,新人学习必备,参考程序
OPENGL又一小程序,新人学习必备,参考程序-OpenGL another small procedures, required new learning, reference program
2022-08-06 00:56:23下载
积分:1