From f99016972e599b80ad498200b83d843baa659c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 14 Oct 2020 11:02:35 +0200 Subject: [PATCH] Fix using old version of renamed function --- Stream_support/examples/Stream_support/off_glue.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Stream_support/examples/Stream_support/off_glue.cpp b/Stream_support/examples/Stream_support/off_glue.cpp index 5f3f634b7e8..343a076f381 100644 --- a/Stream_support/examples/Stream_support/off_glue.cpp +++ b/Stream_support/examples/Stream_support/off_glue.cpp @@ -159,9 +159,9 @@ int main( int argc, char **argv) vector::iterator v = sorted_vertices.begin(); writer.write_vertex((*v)->point.x(), (*v)->point.y(), (*v)->point.z()); if ( scanner.has_normals()) { - writer.write_normal((*v)->normal.x(), - (*v)->normal.y(), - (*v)->normal.z()); + writer.write_vertex_normal((*v)->normal.x(), + (*v)->normal.y(), + (*v)->normal.z()); } ++v; for ( ; v != sorted_vertices.end(); ++v) { @@ -170,9 +170,9 @@ int main( int argc, char **argv) (*v)->point.y(), (*v)->point.z()); if ( scanner.has_normals()) { - writer.write_normal( (*v)->normal.x(), - (*v)->normal.y(), - (*v)->normal.z()); + writer.write_vertex_normal( (*v)->normal.x(), + (*v)->normal.y(), + (*v)->normal.z()); } } }