Cleanup: Sculpt, use C++ types for PBVH proxy node API #114638

Merged
Sergey Sharybin merged 3 commits from Sergey/blender:sculpt_pbvh_cpp_proxy into main 2023-11-09 11:01:07 +01:00

3 Commits

Author SHA1 Message Date
Sergey Sharybin b924e461da Fix compilation error on Linux
buildbot/vexp-code-patch-coordinator Build done. Details
The `BLI_assert_unreachable()` is not marked as noreturn, so the compiler
was expecting function to return a value.
2023-11-09 09:53:30 +01:00
Sergey Sharybin fd054529cf Address feedback:
buildbot/vexp-code-patch-coordinator Build done. Details
- Use vector.last()
- Remove explicit call to default constructor
- Clarify comment around weirdly placed BKE_pbvh_node_add_proxy
2023-11-09 09:28:57 +01:00
Sergey Sharybin 467eb8cf76 Cleanup: Sculpt, use C++ types for PBVH proxy node API
- Use float3 for coordinates inside of proxy
- Use Vector for storing coordinates and proxy nodes
- Use MutableSpan in the API to access proxy nodes
2023-11-08 17:30:27 +01:00