Cleanup: Use utility function to sample triangle bary coord
commit193789f03618d84232346473e5c2d3de14725953
authorHans Goudey <hans@blender.org>
Wed, 10 Apr 2024 00:45:55 +0000 (9 20:45 -0400)
committerHans Goudey <hans@blender.org>
Wed, 10 Apr 2024 00:45:55 +0000 (9 20:45 -0400)
treed628eff75056a4eb2bd2ea698c42046bc363fd58
parentebd04b5660ef6a11c26ec7d80fb397de5a7fbc39
Cleanup: Use utility function to sample triangle bary coord

Also move the declaration of the BVH tree closer to its use.
source/blender/editors/sculpt_paint/paint_utils.cc