diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-31 20:22:55 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-31 20:22:55 +0200 |
commit | 412a80b5c2b8c8704a03cb374da21eadee8af531 (patch) | |
tree | b68be943c6f139156573ca02ba160889e4972d82 /source/Cuboid.h | |
parent | MineShafts: Added (empty) chests and spiderwebs around (still missing) spawners (diff) | |
download | cuberite-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.h | 3 |
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); |