From 4b146e06a47afe020bb74f3ff3efa15cb3daa4be Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 13 Apr 2006 15:07:36 +0000 Subject: [PATCH] To use vtkFloatingPointType instead of bare "float" --- src/VTKViewer/VTKViewer_Actor.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VTKViewer/VTKViewer_Actor.cxx b/src/VTKViewer/VTKViewer_Actor.cxx index 434f24cbc..4c83a2774 100755 --- a/src/VTKViewer/VTKViewer_Actor.cxx +++ b/src/VTKViewer/VTKViewer_Actor.cxx @@ -413,14 +413,14 @@ VTKViewer_Actor if(myIsInfinite) return true; - static float MAX_DISTANCE = 0.9*VTK_LARGE_FLOAT; - float aBounds[6]; + static vtkFloatingPointType MAX_DISTANCE = 0.9*VTK_LARGE_FLOAT; + vtkFloatingPointType aBounds[6]; GetBounds(aBounds); for(int i = 0; i < 6; i++) if(fabs(aBounds[i]) > MAX_DISTANCE) return true; - static float MIN_DISTANCE = 1.0/VTK_LARGE_FLOAT; + static vtkFloatingPointType MIN_DISTANCE = 1.0/VTK_LARGE_FLOAT; if(GetLength() < MIN_DISTANCE) return true; -- 2.39.2