Cleanup: Extract common functions in sculpt_trim.cc
commit6160335c4d0be9acbe844fcdadbf812bdd1a4ac0
authorSean Kim <SeanCTKim@protonmail.com>
Tue, 2 Apr 2024 17:38:37 +0000 (2 19:38 +0200)
committerHans Goudey <hooglyboogly@noreply.localhost>
Tue, 2 Apr 2024 17:38:37 +0000 (2 19:38 +0200)
treedafdef3d05903974145e98325166c15acca26848
parent891d71a4d48b9fc9319815862c92c05e0c1b7240
Cleanup: Extract common functions in sculpt_trim.cc

This PR extracts a few common functions for operations
in `sculpt_trim.cc` to reduce duplication.

Pull Request: https://projects.blender.org/blender/blender/pulls/120180
source/blender/editors/sculpt_paint/sculpt_trim.cc