From 394933fc47c834632a66b89fdc0548af43337771 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 31 Mar 2013 16:22:35 +0000 Subject: Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1333 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 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; } -- cgit v1.2.3