Similar to: -c93767a8b4-851505752fThose commits didn't apply to the smoothing brushes. Now all refactored brushes use the new code structure. This commit includes utilities for averaging neighboring mask and position values which will be used by the mask and mesh filters in future commits. Pull Request: https://projects.blender.org/blender/blender/pulls/124371