#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
OPGL源代码,演示了OPGL的面与物体的构成,以及3维物体的旋转,移动,放大等操作。并提供了背景设置,光影等效果的控制。适合于OPGL入门.-OPGL source code, OPGL demonstration of the surface and the composition of objects, as well as three-dimensional object rotation, Mobile, zooming etc. And provided background setup, lighting and other effects of control. OPGL suitable for induction.