#include<stdio.h> #include<conio.h> #include<graphics.h> void main() { int gd = DETECT, gm; int x1,y1=0,di,limit=0...
Read More
C program to implement Bresenham's line integer algorithm
#include<stdio.h> #include<conio.h> #include<graphics.h> void main() { int gd=DETECT,gm; int x,y,x1,x2,y1,y2,dx,dy,e,m,k; ...
Read More
C program to implement DDA algorithm
#include<stdio.h> #include<conio.h> #include<math.h> #include<graphics.h> int sign(int); void main() { int gd=DETECT...
Read More
Subscribe to:
Posts (Atom)