mirror of https://github.com/CGAL/cgal
Fix using old version of renamed function
This commit is contained in:
parent
5cb43ee8ea
commit
f99016972e
|
|
@ -159,9 +159,9 @@ int main( int argc, char **argv)
|
||||||
vector<Vertex*>::iterator v = sorted_vertices.begin();
|
vector<Vertex*>::iterator v = sorted_vertices.begin();
|
||||||
writer.write_vertex((*v)->point.x(), (*v)->point.y(), (*v)->point.z());
|
writer.write_vertex((*v)->point.x(), (*v)->point.y(), (*v)->point.z());
|
||||||
if ( scanner.has_normals()) {
|
if ( scanner.has_normals()) {
|
||||||
writer.write_normal((*v)->normal.x(),
|
writer.write_vertex_normal((*v)->normal.x(),
|
||||||
(*v)->normal.y(),
|
(*v)->normal.y(),
|
||||||
(*v)->normal.z());
|
(*v)->normal.z());
|
||||||
}
|
}
|
||||||
++v;
|
++v;
|
||||||
for ( ; v != sorted_vertices.end(); ++v) {
|
for ( ; v != sorted_vertices.end(); ++v) {
|
||||||
|
|
@ -170,9 +170,9 @@ int main( int argc, char **argv)
|
||||||
(*v)->point.y(),
|
(*v)->point.y(),
|
||||||
(*v)->point.z());
|
(*v)->point.z());
|
||||||
if ( scanner.has_normals()) {
|
if ( scanner.has_normals()) {
|
||||||
writer.write_normal( (*v)->normal.x(),
|
writer.write_vertex_normal( (*v)->normal.x(),
|
||||||
(*v)->normal.y(),
|
(*v)->normal.y(),
|
||||||
(*v)->normal.z());
|
(*v)->normal.z());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue