null-initialization of Box3 is now explicit

This commit is contained in:
Luigi Malomo 2020-02-07 15:23:27 +01:00
parent c6f5cfb78d
commit 24f02fdaa9
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public:
/// max coordinate point /// max coordinate point
Point3<BoxScalarType> max; Point3<BoxScalarType> max;
/// The bounding box constructor /// 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 /// Copy constructor
inline Box3( const Box3 & b ) { min=b.min; max=b.max; } inline Box3( const Box3 & b ) { min=b.min; max=b.max; }
/// Min Max constructor /// Min Max constructor