24 static GLUquadricObj *quadratic;
31 quadratic = gluNewQuadric();
32 gluQuadricNormals(quadratic, GLU_SMOOTH);
33 gluQuadricDrawStyle(quadratic, GLU_LINE);
55 glColor4f(0, 1, 0, 0.3f);
56 gluSphere(quadratic, AL, 20, 20);
74 glTranslatef(-vi->
panx, -vi->
pany, 0);
91 glScalef(1 / vi->
zoom * -1, 1 / vi->
zoom * -1,
void draw_selpoly(glCompPoly_t *selPoly)
void drawBorders(ViewInfo *vi)
void glCompSetDraw(glCompSet *s)
static int glupdatecamera(ViewInfo *vi)
static void drawRotatingAxis(void)
static void glexpose_grid(ViewInfo *vi)
static int glexpose_drawgraph(ViewInfo *vi)
int glexpose_main(ViewInfo *vi)
int GetOGLPosRef(int x, int y, float *X, float *Y)
int get_mode(ViewInfo *v)
viewport_camera ** cameras
size_t active_camera
<number of cameras
struct topview::@55 fisheyeParams
void drawtopologicalfisheye(topview *t)
void renderSmGraph(topview *t)