Skip to content

Commit

Permalink
Couple cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Feb 4, 2025
1 parent b6b6bb0 commit 4b7e91f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 1 addition & 8 deletions src/mged/primitives/ednmg.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "rt/geom.h"
#include "raytrace.h"
#include "./edfunctab.h"
#include "./ednmg.h"

#define ECMD_NMG_EPICK 11019 /* edge pick */
#define ECMD_NMG_EMOVE 11020 /* edge move */
Expand All @@ -48,14 +49,6 @@
#define ECMD_NMG_EKILL 11026 /* kill current edge */
#define ECMD_NMG_LEXTRU 11027 /* Extrude loop */

struct rt_nmg_edit {
struct edgeuse *es_eu; /* Currently selected NMG edgeuse */
struct loopuse *lu_copy; /* copy of loop to be extruded */
plane_t lu_pl; /* plane equation for loop to be extruded */
struct shell *es_s; /* Shell where extrusion is to end up */
point_t lu_keypoint; /* keypoint of lu_copy for extrusion */
};

void *
rt_solid_edit_nmg_prim_edit_create(struct rt_solid_edit *UNUSED(s))
{
Expand Down
2 changes: 0 additions & 2 deletions src/mged/primitives/edvol.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
#define MENU_VOL_THRESH_LO 13078
#define MENU_VOL_THRESH_HI 13079

extern const char * get_file_name(struct rt_solid_edit *s, char *str);

static void
vol_ed(struct rt_solid_edit *s, int arg, int UNUSED(a), int UNUSED(b), void *UNUSED(data))
{
Expand Down

0 comments on commit 4b7e91f

Please sign in to comment.