From 49d3fd843009d10006f4b2f8b28fa6f9c7340c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 8 Dec 2010 09:43:42 +0000 Subject: [PATCH] correct type y= by z= --- Stream_support/include/CGAL/IO/File_scanner_OFF.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Stream_support/include/CGAL/IO/File_scanner_OFF.h b/Stream_support/include/CGAL/IO/File_scanner_OFF.h index 1b018dbd8e0..6f3fa95fd6f 100644 --- a/Stream_support/include/CGAL/IO/File_scanner_OFF.h +++ b/Stream_support/include/CGAL/IO/File_scanner_OFF.h @@ -114,7 +114,7 @@ public: I_Binary_read_big_endian_float32( m_in, fw); x = int( fx / fw); y = int( fy / fw); - y = int( fz / fw); + z = int( fz / fw); } else { x = int(fx); y = int(fy); @@ -127,7 +127,7 @@ public: m_in >> fx >> fy >> fz >> fw; x = int( fx / fw); y = int( fy / fw); - y = int( fz / fw); + z = int( fz / fw); } else { double d; m_in >> d; @@ -245,7 +245,7 @@ public: I_Binary_read_big_endian_float32( m_in, fw); x = fx / fw; y = fy / fw; - y = fz / fw; + z = fz / fw; } else { x = fx; y = fy; @@ -257,7 +257,7 @@ public: m_in >> fx >> fy >> fz >> fw; x = fx / fw; y = fy / fw; - y = fz / fw; + z = fz / fw; } else m_in >> x >> y >> z; } @@ -276,7 +276,7 @@ public: I_Binary_read_big_endian_float32( m_in, fw); x = int( fx / fw); y = int( fy / fw); - y = int( fz / fw); + z = int( fz / fw); } else { x = int(fx); y = int(fy); @@ -288,7 +288,7 @@ public: m_in >> fx >> fy >> fz >> fw; x = int( fx / fw); y = int( fy / fw); - y = int( fz / fw); + z = int( fz / fw); } else { double d; m_in >> d;