summaryrefslogtreecommitdiffstats
path: root/source/Cuboid.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Cuboid.h')
-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);