OpenGL MUST Project 1[Polyline Editor] use linked list of C++
资 源 简 介
#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
文 件 列 表
point.h
Project1.cpp