From d9b72871506add377a57bea534e454b911cf7a0c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 22 Oct 2021 19:11:34 -0700 Subject: [PATCH] smyrna: remove unused 'anglexyz' --- cmd/smyrna/smyrnadefs.h | 1 - cmd/smyrna/viewportcamera.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index f0f94b9dd..5b311d7c5 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -210,7 +210,6 @@ typedef struct float targety; float targetz; int index; - float anglexyz; float r; diff --git a/cmd/smyrna/viewportcamera.c b/cmd/smyrna/viewportcamera.c index 107789e11..7ae084e3b 100644 --- a/cmd/smyrna/viewportcamera.c +++ b/cmd/smyrna/viewportcamera.c @@ -53,7 +53,5 @@ void menu_click_add_camera(void *p) c->y = view->pany; c->z = view->zoom; - c->anglexyz = 0; - c->r = view->zoom * -1; } -- 2.40.0