• David C. Lonie's avatar
    InterpolateTuple now rounds bits: Update baselines. · ef8d24bc
    David C. Lonie authored
    When interpolating bits with vtkDataArray::InterpolateTuple,
    the result passes through a double-type intermediate. The old
    implementation simply did a static_cast<int>(...) to convert
    the double to a boolean, which of course result in 'false' unless
    the interpolated value was exactly 1.0.
    
    Now, when the interpolated value falls in [0.0, 0.5) the result
    is false, while [0.5, 1.0] map to true.
    ef8d24bc
Name
Last commit
Last update
..
Color Loading commit data...
Core Loading commit data...
Fourier Loading commit data...
General Loading commit data...
Hybrid Loading commit data...
Math Loading commit data...
Morphological Loading commit data...
Sources Loading commit data...
Statistics Loading commit data...
Stencil Loading commit data...