From 24f02fdaa941fc14e0b3ee531ea40643646ff671 Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Fri, 7 Feb 2020 15:23:27 +0100 Subject: [PATCH] null-initialization of Box3 is now explicit --- vcg/space/box3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/space/box3.h b/vcg/space/box3.h index 69906ce5..3bd1928e 100644 --- a/vcg/space/box3.h +++ b/vcg/space/box3.h @@ -50,7 +50,7 @@ public: /// max coordinate point Point3 max; /// The bounding box constructor - inline Box3() { min.X()= 1;max.X()= -1;min.Y()= 1;max.Y()= -1;min.Z()= 1;max.Z()= -1;} + inline Box3() { this->SetNull(); } /// Copy constructor inline Box3( const Box3 & b ) { min=b.min; max=b.max; } /// Min Max constructor