summaryrefslogtreecommitdiffstats
path: root/src/Cuboid.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-09 19:54:27 +0100
committermadmaxoft <github@xoft.cz>2014-03-09 19:54:27 +0100
commit8889d3b73347a7cc094a0e233479e96f2bc25a49 (patch)
tree3cf35e69dcae79e21b27d40c47c3be5df4337b23 /src/Cuboid.h
parentcPieceGenerator: New connectors are added to the free pool. (diff)
downloadcuberite-8889d3b73347a7cc094a0e233479e96f2bc25a49.tar
cuberite-8889d3b73347a7cc094a0e233479e96f2bc25a49.tar.gz
cuberite-8889d3b73347a7cc094a0e233479e96f2bc25a49.tar.bz2
cuberite-8889d3b73347a7cc094a0e233479e96f2bc25a49.tar.lz
cuberite-8889d3b73347a7cc094a0e233479e96f2bc25a49.tar.xz
cuberite-8889d3b73347a7cc094a0e233479e96f2bc25a49.tar.zst
cuberite-8889d3b73347a7cc094a0e233479e96f2bc25a49.zip
Diffstat (limited to '')
-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