From a3e4704b5417ae1ee68d369ec0648d1e88ae34dd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 29 Mar 2013 20:50:32 +0000 Subject: Cuboid: Fixed intersection calculation git-svn-id: http://mc-server.googlecode.com/svn/trunk@1325 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Cuboid.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/Cuboid.h') 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 -- cgit v1.2.3