OpenGL MUST Project 1[Polyline Editor] use linked
2016-08-23
0 0 0
暂无评分
其他
如何获取积分?
#include <D:\Homework\OpenGL\Project1\GLUT 3.7\glut.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "point.h"
/*draw line from the line array*/
void drawPointLine()
{
Node * temp;
for (int i=0;i<Arraysize;i++)
{
temp=polylineArray[i];
glBegin(GL_LINE_STRIP);
while (temp->next!=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;i<Arraysize;i++)
{
delpoint=polylineArray[i];
while (delpoint->next!=NULL)
{&n
c++
OpenGLMUSTProjectPolylineEditorus
相关源码推荐
局部路径规划算法-DWA算法
0
0
暂无评分
enDAQ-Shock-Data-Share-SRS-Blog
0
0
暂无评分
在Windows应用程序里调用chatGPT
0
0
暂无评分
测试Hello world
0
0
暂无评分
单向射线追踪计算RCS
0
0
暂无评分
暂无评论