summaryrefslogtreecommitdiffstats
path: root/src/box3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/box3d.h')
-rw-r--r--src/box3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/box3d.h b/src/box3d.h
index d34ac1ae0..d6243d5e0 100644
--- a/src/box3d.h
+++ b/src/box3d.h
@@ -43,6 +43,8 @@ struct SPBox3D : public SPGroup {
Proj::Pt3 save_corner0;
Proj::Pt3 save_corner7;
+ Box3D::Axis swapped; // to indicate which coordinates are swapped during dragging
+
gint my_counter; // for debugging only
};
@@ -70,6 +72,8 @@ int box3d_VP_lies_in_PL_sector (SPBox3D const *box, Proj::Axis vpdir, int id1, i
/* ensures that the coordinates of corner0 and corner7 are in the correct order (to prevent everted boxes) */
void box3d_relabel_corners(SPBox3D *box);
+void box3d_check_for_swapped_coords(SPBox3D *box);
+
void box3d_add_to_selection(SPBox3D *box);
void box3d_remove_from_selection(SPBox3D *box);
void box3d_mark_transformed(SPBox3D *box);