#include
#include
#include
#include
#include "point.h"
/*draw line from the line array*/
void drawPointLine()
{
Node * temp;
for (int i=0;inext!=NULL)
{
temp=temp->next;
glVertex2i(temp->x,temp->y);
}
glEnd();
}
}
/*find the point and delete the point from the line array*/
void delpointFun(int xx,int yy)
{
for (int i=0;inext!=NULL)
{&n
在vc环境下显示二维飞机,可以实现旋转等操作,是学习opengl的一个基本程序构架。按键上、下、左、右可以实现功能。-Vc environment shown in the two-dimensional plane rotation operation can be achieved, is a basic program to learn opengl framework. Button up, down, left and right function can be achieved.
VC、Opengl编写的绘图程序 包含源码和执行程序 通过鼠标点选可使其汇聚到一点-VC, Opengl procedures for the preparation of graphics and includes source code enforcement procedures through mouse clicks to bring the pool to 1:
用强大的OpenGL实现模拟飞机飞行的控制.也包括模拟飞行的环境,山河,太阳等-OpenGL used to achieve a powerful simulation of aircraft flight control. Also includes simulated flight environment, mountains and rivers, the sun, etc.