#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
c语言实现的2D矢量图形算法库,提供跨平台特性,通过基于OPENGL扩展模块能够实现硬件加速。-c language algorithm for 2D vector graphics library to provide cross-platform features, the expansion module OPENGL based hardware acceleration can be achieved.
使用C语言构造一个可以显示OpenGL程序的源代码,基本属于框架类别,如需使用则要编写相应的实现代码。基于多文档的源码。-The use of C language constructs a OpenGL program can display the source code, the basic framework of the categories are for the use of will realize the preparation of the corresponding code. Based on Multi-source documents.