summaryrefslogtreecommitdiffstats
path: root/source/Cuboid.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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