4 #include "SDL/SDL_opengl.h"
9 Ponto (double x1
, double y1
) {x
= x1
; y
= y1
;}
21 Linha(double x1
,double y1
,double x2
, double y2
);
22 Linha(Ponto a
, Ponto b
) {vertices
[0] = a
; vertices
[1] = b
;}
30 Rect(double x1
,double y1
,double x2
, double y2
);
31 Rect(Ponto a
, Ponto b
) {vertices
[0] = a
; vertices
[1] = b
; normaliza();}
34 void drawCircle(double radius
, int lines
);