• Sean McBride's avatar
    Replaced some uses of vtkMath::Round with STL rounding · 56bf715c
    Sean McBride authored
    vtkMath::Round converts double to int, as opposed to long.  Both can be lossy, but the former much more so.
    
    Replaced some uses with std::round(), some with std::lround().
    
    Eliminated the long->int truncation as much as possible, but kept it in many instances.
    56bf715c
Name
Last commit
Last update
..
Testing Loading commit data...
fonts Loading commit data...
CMakeLists.txt Loading commit data...
module.cmake Loading commit data...
vtkFreeTypeStringToImage.cxx Loading commit data...
vtkFreeTypeStringToImage.h Loading commit data...
vtkFreeTypeTools.cxx Loading commit data...
vtkFreeTypeTools.h Loading commit data...
vtkMathTextFreeTypeTextRenderer.cxx Loading commit data...
vtkMathTextFreeTypeTextRenderer.h Loading commit data...
vtkMathTextUtilities.cxx Loading commit data...
vtkMathTextUtilities.h Loading commit data...
vtkScaledTextActor.cxx Loading commit data...
vtkScaledTextActor.h Loading commit data...
vtkTextRendererStringToImage.cxx Loading commit data...
vtkTextRendererStringToImage.h Loading commit data...
vtkVectorText.cxx Loading commit data...
vtkVectorText.h Loading commit data...