static pointf cylinder_size (pointf);
static void cylinder_vertices (pointf*, pointf*);
-static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int style, int filled);
+static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int filled);
/* static boolean cylinder_inside(inside_t * inside_context, pointf p); */
static poly_desc_t cylinder_gen = {
cylinder_size,
else
mode = ROUNDED;
if (mode == CYLINDER) {
- cylinder_draw (job, AF, sides, style, filled);
+ cylinder_draw (job, AF, sides, filled);
return;
}
B = N_NEW(4 * sides + 4, pointf);
vertices[18] = vertices[17] = vertices[0];
}
-static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int style, int filled)
+static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int filled)
{
pointf vertices[7];
double y0 = AF[0].y;