Blender V5.3
BKE_mesh_fair.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
12
14#include "BLI_span.hh"
15
16namespace blender {
17
18struct Mesh;
19
20/* Mesh Fairing. */
21/* Creates a smooth as possible geometry patch in a defined area. Different values of depth allow
22 * to minimize changes in the vertex positions or tangency in the affected area. */
23
28
34 MutableSpan<float3> deform_vert_positions,
35 const bool affected_verts[],
36 eMeshFairingDepth depth);
37
38} // namespace blender
BMesh Iterators.
void BKE_mesh_prefair_and_fair_verts(Mesh *mesh, MutableSpan< float3 > deform_vert_positions, const bool affected_verts[], eMeshFairingDepth depth)
Definition mesh_fair.cc:367
@ MESH_FAIRING_DEPTH_TANGENCY
@ MESH_FAIRING_DEPTH_POSITION