Part of #118145 * Removes usage of PBVHVertRef * Adds const where possible * Reduces scope of variables where possible Pull Request: https://projects.blender.org/blender/blender/pulls/127541
Part of #118145 * Removes usage of PBVHVertRef * Adds const where possible * Reduces scope of variables where possible Pull Request: https://projects.blender.org/blender/blender/pulls/127541