summaryrefslogtreecommitdiffstats
path: root/source/Cuboid.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-31 20:22:55 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-31 20:22:55 +0200
commit412a80b5c2b8c8704a03cb374da21eadee8af531 (patch)
treeb68be943c6f139156573ca02ba160889e4972d82 /source/Cuboid.h
parentMineShafts: Added (empty) chests and spiderwebs around (still missing) spawners (diff)
downloadcuberite-412a80b5c2b8c8704a03cb374da21eadee8af531.tar
cuberite-412a80b5c2b8c8704a03cb374da21eadee8af531.tar.gz
cuberite-412a80b5c2b8c8704a03cb374da21eadee8af531.tar.bz2
cuberite-412a80b5c2b8c8704a03cb374da21eadee8af531.tar.lz
cuberite-412a80b5c2b8c8704a03cb374da21eadee8af531.tar.xz
cuberite-412a80b5c2b8c8704a03cb374da21eadee8af531.tar.zst
cuberite-412a80b5c2b8c8704a03cb374da21eadee8af531.zip
Diffstat (limited to '')
-rw-r--r--source/Cuboid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Cuboid.h b/source/Cuboid.h
index 577bfa401..44db7b98e 100644
--- a/source/Cuboid.h
+++ b/source/Cuboid.h
@@ -59,6 +59,9 @@ public:
);
}
+ /// Returns true if this cuboid is completely inside the specifie cuboid (in all 6 coords)
+ bool IsCompletelyInside(const cCuboid & a_Outer) const;
+
/// Moves the cuboid by the specified offsets in each direction
void Move(int a_OfsX, int a_OfsY, int a_OfsZ);