summaryrefslogtreecommitdiffstats
path: root/source/Cuboid.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-29 21:50:32 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-29 21:50:32 +0100
commita3e4704b5417ae1ee68d369ec0648d1e88ae34dd (patch)
tree193d00f671335dc4a3004782ef240f429843cbd1 /source/Cuboid.h
parentChunkDesc: Cuboid-based manipulation (diff)
downloadcuberite-a3e4704b5417ae1ee68d369ec0648d1e88ae34dd.tar
cuberite-a3e4704b5417ae1ee68d369ec0648d1e88ae34dd.tar.gz
cuberite-a3e4704b5417ae1ee68d369ec0648d1e88ae34dd.tar.bz2
cuberite-a3e4704b5417ae1ee68d369ec0648d1e88ae34dd.tar.lz
cuberite-a3e4704b5417ae1ee68d369ec0648d1e88ae34dd.tar.xz
cuberite-a3e4704b5417ae1ee68d369ec0648d1e88ae34dd.tar.zst
cuberite-a3e4704b5417ae1ee68d369ec0648d1e88ae34dd.zip
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 4b0a76a34..01a2b4ef0 100644
--- a/source/Cuboid.h
+++ b/source/Cuboid.h
@@ -60,6 +60,8 @@ public:
/// Moves the cuboid by the specified offsets in each direction
void Move(int a_OfsX, int a_OfsY, int a_OfsZ);
+ /// Returns true if the coords are properly sorted (lesser in p1, greater in p2)
+ bool IsSorted(void) const;
} ;
// tolua_end