diff options
Diffstat (limited to 'src/Cuboid.h')
-rw-r--r-- | src/Cuboid.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Cuboid.h b/src/Cuboid.h index b39d3ad4a..b9d5f8cfa 100644 --- a/src/Cuboid.h +++ b/src/Cuboid.h @@ -13,9 +13,16 @@ public: Vector3i p1, p2; cCuboid(void) {} + cCuboid(const cCuboid & a_Cuboid) : p1(a_Cuboid.p1), p2(a_Cuboid.p2) {} cCuboid(const Vector3i & a_p1, const Vector3i & a_p2) : p1(a_p1), p2(a_p2) {} cCuboid(int a_X1, int a_Y1, int a_Z1) : p1(a_X1, a_Y1, a_Z1), p2(a_X1, a_Y1, a_Z1) {} + // tolua_end + + cCuboid & operator =(cCuboid a_Other); + + // tolua_begin + // DEPRECATED, use cCuboid(Vector3i, Vector3i) instead 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) { |