From 479d2f5b6293af2ae84fbdc718348a6e1126efb0 Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Tue, 15 Sep 2015 20:26:46 +0200 Subject: BLADERUNNER: still adding structures... and implementing some of script methods... --- engines/bladerunner/boundingbox.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'engines/bladerunner/boundingbox.h') diff --git a/engines/bladerunner/boundingbox.h b/engines/bladerunner/boundingbox.h index 1766973f26..d9f7df6141 100644 --- a/engines/bladerunner/boundingbox.h +++ b/engines/bladerunner/boundingbox.h @@ -28,7 +28,7 @@ namespace BladeRunner { class BoundingBox { -public: +private: Vector3 _vertices[2]; public: @@ -36,7 +36,11 @@ public: 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); + bool inside(float x, float y, float z); + void setXyz(float x0, float y0, float z0, float x1, float y1, float z1); + void getXyz(float* x0, float* y0, float* z0, float* x1, float* y1, float* z1); + float getZ0(); + float getZ1(); }; } // End of namespace BladeRunner -- cgit v1.2.3