removed FacePos and PerMeshAttributeHandle assignment operators

This commit is contained in:
alemuntoni 2020-05-06 15:56:15 +02:00
parent fdb994ddd8
commit d223c497cd
2 changed files with 11 additions and 11 deletions

View File

@ -332,11 +332,11 @@ public:
public: public:
PerMeshAttributeHandle(){_handle=NULL;} PerMeshAttributeHandle(){_handle=NULL;}
PerMeshAttributeHandle(void *ah,const int & n):_handle ( (Attribute<ATTR_TYPE> *)ah ),n_attr(n){} PerMeshAttributeHandle(void *ah,const int & n):_handle ( (Attribute<ATTR_TYPE> *)ah ),n_attr(n){}
PerMeshAttributeHandle operator = ( const PerMeshAttributeHandle & pva){ //PerMeshAttributeHandle operator = ( const PerMeshAttributeHandle & pva){
_handle = (Attribute<ATTR_TYPE> *)pva._handle; // _handle = (Attribute<ATTR_TYPE> *)pva._handle;
n_attr = pva.n_attr; // n_attr = pva.n_attr;
return (*this); // return (*this);
} //}
Attribute<ATTR_TYPE> * _handle; Attribute<ATTR_TYPE> * _handle;
int n_attr; int n_attr;

View File

@ -129,12 +129,12 @@ public:
} }
/// Assignment operator /// Assignment operator
inline PosType & operator = ( const PosType & h ){ //inline PosType & operator = ( const PosType & h ){
f=h.f; // f=h.f;
z=h.z; // z=h.z;
v=h.v; // v=h.v;
return *this; // return *this;
} //}
/// Set to null the half-edge /// Set to null the half-edge
void SetNull(){ void SetNull(){