summaryrefslogtreecommitdiffstats
path: root/src/Cuboid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cuboid.h')
-rw-r--r--src/Cuboid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Cuboid.h b/src/Cuboid.h
index 51ccf799b..50a69b853 100644
--- a/src/Cuboid.h
+++ b/src/Cuboid.h
@@ -86,6 +86,9 @@ public:
/** Returns true if the coords are properly sorted (lesser in p1, greater in p2) */
bool IsSorted(void) const;
+
+ /** If needed, expands the cuboid so that it contains the specified point. Assumes sorted. Doesn't contract. */
+ void Engulf(const Vector3i & a_Point);
} ;
// tolua_end