summaryrefslogtreecommitdiffstats
path: root/source/BoundingBox.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-01 22:38:09 +0200
committermadmaxoft <github@xoft.cz>2013-09-01 22:38:09 +0200
commit4f04724cfdbc4b6c7908423d0ad232a2ef374b1d (patch)
tree93cdabbda5a0505a3b3a3f685d8410f601dc1878 /source/BoundingBox.h
parentFixed an error in cBoundingBox's line-collision algorithm. (diff)
downloadcuberite-4f04724cfdbc4b6c7908423d0ad232a2ef374b1d.tar
cuberite-4f04724cfdbc4b6c7908423d0ad232a2ef374b1d.tar.gz
cuberite-4f04724cfdbc4b6c7908423d0ad232a2ef374b1d.tar.bz2
cuberite-4f04724cfdbc4b6c7908423d0ad232a2ef374b1d.tar.lz
cuberite-4f04724cfdbc4b6c7908423d0ad232a2ef374b1d.tar.xz
cuberite-4f04724cfdbc4b6c7908423d0ad232a2ef374b1d.tar.zst
cuberite-4f04724cfdbc4b6c7908423d0ad232a2ef374b1d.zip
Diffstat (limited to '')
-rw-r--r--source/BoundingBox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/BoundingBox.h b/source/BoundingBox.h
index 7b6391942..cfaf6a318 100644
--- a/source/BoundingBox.h
+++ b/source/BoundingBox.h
@@ -16,6 +16,11 @@
// tolua_begin
+/** Represents two sets of coords, minimum and maximum for each direction.
+All the coords within those limits (inclusive the edges) are considered "inside" the box.
+For intersection purposes, though, if the intersection is "sharp" in any coord (i. e. zero volume),
+the boxes are considered non-intersecting.
+*/
class cBoundingBox
{
public: