]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove 'camera_vectorx'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 23 Oct 2021 02:07:50 +0000 (19:07 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 30 Oct 2021 00:20:29 +0000 (17:20 -0700)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/viewportcamera.c

index f7b4a3143b95aad81ac3cabe3ceed0e1292dd189..05d3ece97d91416f218bfe0d60811c9da1a3a2d7 100644 (file)
@@ -218,7 +218,6 @@ typedef struct
        float anglez;
 
 
-       float camera_vectorx;
        float camera_vectory;
        float camera_vectorz;
        float r;
index 0d1a35e7d64dc846d04458970fa88d9647c3945d..6e4a8cce0b3a7acdbebac9609cb91f1c64dcb636 100644 (file)
@@ -52,7 +52,6 @@ void menu_click_add_camera(void *p)
     c->x = view->panx;
     c->y = view->pany;
     c->z = view->zoom;
-    c->camera_vectorx = 0;
     c->camera_vectory = 1;
     c->camera_vectorz = 0;