From e4365e8c3fdc6bb441b835fd513e37f97ceb8d56 Mon Sep 17 00:00:00 2001 From: Yoel <s73017@beuth-hochschule.de> Date: Sun, 6 Sep 2020 14:57:27 +0200 Subject: [PATCH] Changed members of AABB to non-const to enable moves and assignments on the AABB-object --- RayTracer/tools/AxisAlignedBoundingBox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RayTracer/tools/AxisAlignedBoundingBox.h b/RayTracer/tools/AxisAlignedBoundingBox.h index 8e758a2..faacfee 100644 --- a/RayTracer/tools/AxisAlignedBoundingBox.h +++ b/RayTracer/tools/AxisAlignedBoundingBox.h @@ -18,6 +18,6 @@ class AxisAlignedBoundingBox { Vec3 maxBound() const; private: - const Vec3 min, max; + Vec3 min, max; }; } // namespace util \ No newline at end of file -- GitLab