summaryrefslogtreecommitdiffstats
path: root/src/Cuboid.cpp
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-08-28 13:49:33 +0200
committerpeterbell10 <peterbell10@live.co.uk>2017-08-28 14:48:10 +0200
commitf89becc7610af1ccf396831dd829fe6e04159e5b (patch)
treeb6d5adb716483ba1e1693399b22d9d771154545e /src/Cuboid.cpp
parentCleanup Vector3 constructors and Abs (diff)
downloadcuberite-f89becc7610af1ccf396831dd829fe6e04159e5b.tar
cuberite-f89becc7610af1ccf396831dd829fe6e04159e5b.tar.gz
cuberite-f89becc7610af1ccf396831dd829fe6e04159e5b.tar.bz2
cuberite-f89becc7610af1ccf396831dd829fe6e04159e5b.tar.lz
cuberite-f89becc7610af1ccf396831dd829fe6e04159e5b.tar.xz
cuberite-f89becc7610af1ccf396831dd829fe6e04159e5b.tar.zst
cuberite-f89becc7610af1ccf396831dd829fe6e04159e5b.zip
Diffstat (limited to 'src/Cuboid.cpp')
-rw-r--r--src/Cuboid.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/Cuboid.cpp b/src/Cuboid.cpp
index c638eb636..7dc39f364 100644
--- a/src/Cuboid.cpp
+++ b/src/Cuboid.cpp
@@ -10,14 +10,6 @@
////////////////////////////////////////////////////////////////////////////////
// cCuboid:
-cCuboid & cCuboid::operator =(cCuboid a_Other)
-{
- std::swap(p1, a_Other.p1);
- std::swap(p2, a_Other.p2);
- return *this;
-}
-
-
void cCuboid::Assign(int a_X1, int a_Y1, int a_Z1, int a_X2, int a_Y2, int a_Z2)
{
p1.x = a_X1;
@@ -32,20 +24,6 @@ void cCuboid::Assign(int a_X1, int a_Y1, int a_Z1, int a_X2, int a_Y2, int a_Z2)
-void cCuboid::Assign(const cCuboid & a_SrcCuboid)
-{
- p1.x = a_SrcCuboid.p1.x;
- p1.y = a_SrcCuboid.p1.y;
- p1.z = a_SrcCuboid.p1.z;
- p2.x = a_SrcCuboid.p2.x;
- p2.y = a_SrcCuboid.p2.y;
- p2.z = a_SrcCuboid.p2.z;
-}
-
-
-
-
-
void cCuboid::Sort(void)
{
if (p1.x > p2.x)