MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / lengthToString

Function lengthToString

source/MRViewer/MRRenderDimensions.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19constexpr int cCurveMaxSubdivisionDepth = 10;
20
21static std::string lengthToString( float value )
22{
23 return valueToString<LengthUnit>( value, { .unitSuffix = false, .style = NumberStyle::normal, .stripTrailingZeroes = false } );
24}
25// `dir == 0` - symmetric, `dir > 0` - positive, `dir < 0` - negative.
26static std::string lengthToleranceToString( float value, int dir, bool keepTrailingZeroes = false )
27{

Callers 1

renderPassMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected