Subversion Repositories gelsvn

Rev

Rev 417 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 417 Rev 521
Line 224... Line 224...
224
					// sure that the contraction does not lead to a face flip.
224
					// sure that the contraction does not lead to a face flip.
225
					if(check_consistency(he, simplify_rec.opt_pos) && 
225
					if(check_consistency(he, simplify_rec.opt_pos) && 
226
					   check_consistency(he->opp, simplify_rec.opt_pos))
226
					   check_consistency(he->opp, simplify_rec.opt_pos))
227
					{
227
					{
228
						
228
						
229
						//cout << simplify_rec.err << " " << &(*he->vert) << endl;
-
 
-
 
229
 
230
						// Get QEM for both end points
230
						// Get QEM for both end points
231
						const QEM& Q1 = qem_vec[he->vert->touched];
231
						const QEM& Q1 = qem_vec[he->vert->touched];
232
						const QEM& Q2 = qem_vec[he->opp->vert->touched];
232
						const QEM& Q2 = qem_vec[he->opp->vert->touched];
233
						
233
						
234
						// Compute Q_new = Q_1 + Q_2
234
						// Compute Q_new = Q_1 + Q_2