Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~244 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for Ankita_5

//Program to implement Basic Incremental Algorithm //Working on ubuntu #include <GL/glut.h> #include<stdlib.h> #include <stdio.h> GLfloat x0,x1,y0,y1; //Input variables taken as global int flag=1; //variable for display1() void init(void) { glClearColor(0.0,0.0,0.0,0.0); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluOrtho2D(0.0,500.0,0.0,500.0); } void PutPixel(GLfloat x,GLfloat y) { glBegin(GL_POINTS); glVertex2f(x,y); //To display pixels on-screen glEnd(); glFlush(); } void display1(void) …

Member Avatar for rubberman
0
244