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
inline FaceType & operator = ( const FaceType & h ){
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(){
f=0;