diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-31 18:22:35 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-31 18:22:35 +0200 |
commit | 394933fc47c834632a66b89fdc0548af43337771 (patch) | |
tree | 77dcf7f7a54291f148f3ecc003c97bb27ccab39c /source/Cuboid.h | |
parent | MineShafts: Set the default GridSize to 256 (diff) | |
download | cuberite-394933fc47c834632a66b89fdc0548af43337771.tar cuberite-394933fc47c834632a66b89fdc0548af43337771.tar.gz cuberite-394933fc47c834632a66b89fdc0548af43337771.tar.bz2 cuberite-394933fc47c834632a66b89fdc0548af43337771.tar.lz cuberite-394933fc47c834632a66b89fdc0548af43337771.tar.xz cuberite-394933fc47c834632a66b89fdc0548af43337771.tar.zst cuberite-394933fc47c834632a66b89fdc0548af43337771.zip |
Diffstat (limited to 'source/Cuboid.h')
-rw-r--r-- | source/Cuboid.h | 2 |
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; } |