Corrected weird error in pos assignement operator.

This commit is contained in:
Paolo Cignoni 2013-11-11 13:32:33 +00:00
parent 2b84f16b45
commit 6ec2689383
1 changed files with 2 additions and 1 deletions

View File

@ -125,12 +125,13 @@ public:
} }
/// Assignment operator /// Assignment operator
inline FaceType & operator = ( const FaceType & 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(){
f=0; f=0;