namespace: CurveArchitect.Utilites
file: HelperMesh.cs
General
void SetOriginalTriangles(Mesh mesh, Mesh originalMesh)
Description:
Copies triangle indices from an original mesh to a target mesh for all submeshes, maintaining the original topology.
void ReverseTriangles(Mesh mesh)
Description:
Reverses the triangle indices for each submesh in a mesh, effectively flipping the mesh's normals.
Mesh HandleOrthoNormals(MeshContainer mc, ArchitectCurveObject aco)
Description:
Handles the normalization and tangential properties of a mesh based on configuration settings, reversing triangle orientations for mirror deformations.
Returns:
The modified mesh with updated normals and tangents.
void RecalculateNormalsSeamlessWithJobs(Mesh mesh)
Description:
Recalculates seamless normals of a mesh using a job-based system, restoring original triangle data post-computation.