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:
PerMeshAttributeHandle(){_handle=NULL;}
PerMeshAttributeHandle(void *ah,const int & n):_handle ( (Attribute<ATTR_TYPE> *)ah ),n_attr(n){}
PerMeshAttributeHandle operator = ( const PerMeshAttributeHandle & pva){
_handle = (Attribute<ATTR_TYPE> *)pva._handle;
n_attr = pva.n_attr;
return (*this);
}
//PerMeshAttributeHandle operator = ( const PerMeshAttributeHandle & pva){
// _handle = (Attribute<ATTR_TYPE> *)pva._handle;
// n_attr = pva.n_attr;
// return (*this);
//}
Attribute<ATTR_TYPE> * _handle;
int n_attr;

View File

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