mirror of https://github.com/CGAL/cgal
Fix a stupid typo: CGAL_USE
This commit is contained in:
parent
c3926316ce
commit
ac47d7ac24
|
|
@ -850,7 +850,7 @@ public:
|
||||||
switch (ints.size()){
|
switch (ints.size()){
|
||||||
case 1:
|
case 1:
|
||||||
ok=CGAL::assign(tmp_pt,ints[0]);
|
ok=CGAL::assign(tmp_pt,ints[0]);
|
||||||
CGAL_assertion(ok); CGAL_use(ok);
|
CGAL_assertion(ok); CGAL_USE(ok);
|
||||||
points.push_back(tmp_pt);
|
points.push_back(tmp_pt);
|
||||||
index=points.size()-1;
|
index=points.size()-1;
|
||||||
indices[i]=index;
|
indices[i]=index;
|
||||||
|
|
@ -859,12 +859,12 @@ public:
|
||||||
case 2:
|
case 2:
|
||||||
int right_ind=i<2?0:1;
|
int right_ind=i<2?0:1;
|
||||||
ok=CGAL::assign(tmp_pt,ints[right_ind]);
|
ok=CGAL::assign(tmp_pt,ints[right_ind]);
|
||||||
CGAL_assertion(ok); CGAL_use(ok);
|
CGAL_assertion(ok); CGAL_USE(ok);
|
||||||
points.push_back(tmp_pt);
|
points.push_back(tmp_pt);
|
||||||
index=points.size()-1;
|
index=points.size()-1;
|
||||||
indices[i]=index;
|
indices[i]=index;
|
||||||
ok=CGAL::assign(tmp_pt,ints[(right_ind+1)%2]);
|
ok=CGAL::assign(tmp_pt,ints[(right_ind+1)%2]);
|
||||||
CGAL_assertion(ok); CGAL_use(ok);
|
CGAL_assertion(ok); CGAL_USE(ok);
|
||||||
points.push_back(tmp_pt);
|
points.push_back(tmp_pt);
|
||||||
index=points.size()-1;
|
index=points.size()-1;
|
||||||
indices[(i+1)%4+4]=index;
|
indices[(i+1)%4+4]=index;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue