]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'type' camera field
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Nov 2021 00:01:50 +0000 (17:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 03:50:54 +0000 (19:50 -0800)
cmd/smyrna/smyrnadefs.h

index 3cc48426c46c157f91466a8db4766af5234ef28f..ed6827dc95f8946c9d0841ef078331947668ab74 100644 (file)
@@ -173,8 +173,6 @@ typedef struct
        smyrna_view_mode mode;
     }mouse_action_t;
 
-    typedef enum { CAM_PERSPECTIVE, CAM_ORTHO } cam_t;
-
     typedef struct _viewport_camera {
        float x;
        float y;
@@ -186,9 +184,6 @@ typedef struct
        int index;
 
        float r;
-
-
-       cam_t type;             //
     } viewport_camera;
 
     typedef struct _graph_data {