|
Blender V4.3
|
Go to the source code of this file.
Enumerations | |
| enum | eMeshFairingDepth { MESH_FAIRING_DEPTH_POSITION = 1 , MESH_FAIRING_DEPTH_TANGENCY = 2 } |
Functions | |
| void | BKE_mesh_prefair_and_fair_verts (Mesh *mesh, blender::MutableSpan< blender::float3 > deform_vert_positions, const bool affected_verts[], eMeshFairingDepth depth) |
Mesh Fairing algorithm designed by Brett Fedack, used in the addon "Mesh Fairing": https://github.com/fedackb/mesh-fairing.
Definition in file BKE_mesh_fair.hh.
| enum eMeshFairingDepth |
| Enumerator | |
|---|---|
| MESH_FAIRING_DEPTH_POSITION | |
| MESH_FAIRING_DEPTH_TANGENCY | |
Definition at line 23 of file BKE_mesh_fair.hh.
| void BKE_mesh_prefair_and_fair_verts | ( | Mesh * | mesh, |
| blender::MutableSpan< blender::float3 > | deform_vert_positions, | ||
| const bool | affected_verts[], | ||
| eMeshFairingDepth | depth ) |
This function can optionally use the vertex coordinates of deform_mverts to read and write the fairing result. When NULL, the function will use mesh positions directly.
Referenced by blender::ed::sculpt_paint::face_set::edit_fairing().