Skip to content

Introduce cube root method to vtkMath

Sean McBride requested to merge seanm/vtk:cuberoot into master

This allows removing VTK_CUBE_ROOT macro from vtkMassProperties.cxx, which caused clang-tidy misc-macro-parentheses warnings.

This new vtkMath version uses basically the same implementation, except under >= C++11 where it uses std::cbrt (which is the same except for infinity).

Merge request reports