aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/boundingbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/boundingbox.h')
-rw-r--r--engines/bladerunner/boundingbox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/bladerunner/boundingbox.h b/engines/bladerunner/boundingbox.h
index 5dda3f0e3f..1766973f26 100644
--- a/engines/bladerunner/boundingbox.h
+++ b/engines/bladerunner/boundingbox.h
@@ -28,11 +28,15 @@
namespace BladeRunner {
class BoundingBox {
+public:
Vector3 _vertices[2];
public:
BoundingBox() {}
BoundingBox(float x0, float y0, float z0, float x1, float y1, float z1);
+
+ void expand(float x0, float y0, float z0, float x1, float y1, float z1);
+ bool isXYZInside(float x, float y, float z);
};
} // End of namespace BladeRunner