summaryrefslogtreecommitdiffstats
path: root/source/Cuboid.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Cuboid.h')
-rw-r--r--source/Cuboid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Cuboid.h b/source/Cuboid.h
index 01a2b4ef0..577bfa401 100644
--- a/source/Cuboid.h
+++ b/source/Cuboid.h
@@ -21,6 +21,8 @@ public:
cCuboid(int a_X1, int a_Y1, int a_Z1) : p1(a_X1, a_Y1, a_Z1), p2(a_X1, a_Y1, a_Z1) {}
cCuboid(int a_X1, int a_Y1, int a_Z1, int a_X2, int a_Y2, int a_Z2) : p1(a_X1, a_Y1, a_Z1), p2(a_X2, a_Y2, a_Z2) {}
+ void Assign(int a_X1, int a_Y1, int a_Z1, int a_X2, int a_Y2, int a_Z2);
+
void Sort(void);
int DifX(void) const { return p2.x - p1.x; }