31 numSmoothingPasses = 10;
32 smoothingFactor = 0.2f;
33 useVolumePreservation =
true;
34 useBorderPreservation =
true;
Field to encapsulate an increasing float value from range [0,1].
Base class for triangle and quad patches.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLWEM_EXPORT void smoothNodes(WEMPatch *wemPatch, const WEMSmoothingParameters ¶meters, ProgressField *progressFld=nullptr)
Smooths the nodes by a Laplacian scheme.
MLWEM_EXPORT void smoothNodeNormals(WEMPatch *wemPatch, unsigned int numSmoothingPasses, bool useBorderPreservation, ProgressField *progressFld=nullptr)
Smooths the nodes' normals.
unsigned int numSmoothingPasses
bool useBorderPreservation
bool useVolumePreservation