]> granicus.if.org Git - graphviz/commitdiff
GD plugin doSphere: remove unused parameters
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 20 Aug 2022 03:52:10 +0000 (20:52 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Aug 2022 17:53:19 +0000 (10:53 -0700)
plugin/gd/gvrender_gd_vrml.c

index 0f2498e4d8c1eb531de9e32a96ef4b937af43796..8c78e74a3267aefd00ddad0ec42f495c6dbfb92d 100644 (file)
@@ -695,9 +695,7 @@ static void vrml_polygon(GVJ_t *job, pointf * A, int np, int filled)
 /* doSphere:
  * Output sphere in VRML for point nodes.
  */
-static void 
-doSphere (GVJ_t *job, node_t *n, pointf p, double z, double rx, double ry)
-{
+static void doSphere(GVJ_t *job, pointf p, double z, double rx) {
     obj_state_t *obj = job->obj;
 
     gvputs(job,   "Transform {\n");
@@ -748,7 +746,7 @@ static void vrml_ellipse(GVJ_t * job, pointf * A, int filled)
     case NODE_OBJTYPE:
        n = obj->u.n;
        if (shapeOf(n) == SH_POINT) {
-           doSphere (job, n, A[0], z, rx, ry);
+           doSphere(job, A[0], z, rx);
            return;
        }
        pen = set_penstyle(job, state->im, brush);