unuseful copy constructor box - deleted trackball assignment operator
This commit is contained in:
parent
f2ce7bdf69
commit
0caaf49d37
|
@ -52,7 +52,7 @@ public:
|
|||
/// The bounding box constructor
|
||||
inline Box3() { this->SetNull(); }
|
||||
/// 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
|
||||
inline Box3( const Point3<BoxScalarType> & mi, const Point3<BoxScalarType> & ma ) { min = mi; max = ma; }
|
||||
/// Point Radius Constructor
|
||||
|
|
|
@ -202,7 +202,7 @@ public:
|
|||
|
||||
private:
|
||||
// Trackball must not be copied. Use Append (see vcg/complex/trimesh/append.h)
|
||||
Trackball operator =(const Trackball & /*m*/){ assert(0); return *this; }
|
||||
Trackball operator =(const Trackball & /*m*/) = delete;
|
||||
public:
|
||||
/*!
|
||||
@brief Reset the trackball.
|
||||
|
|
Loading…
Reference in New Issue