kassoulet / dose2

a fork of the mfx's dose2 demo

This URL has Read+Write access

dose2 / line.h
100644 16 lines (9 sloc) 0.32 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef line_h_included
#define line_h_included
 
 
typedef struct _Piste Piste;
struct _Piste { int x, y, code; };
 
Piste *new_piste(int x, int y);
void line(char *d, Piste *p1, Piste *p2, int c);
void clip1(Piste *p1, Piste *p2, float a, float b, float c);
void lineclip(char *d, Piste *q1, Piste *q2, int c);
 
 
 
#endif