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

Function forAllLengthUnits

source/MRViewer/MRUnitSettings.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6{
7
8static void forAllLengthUnits( auto&& func )
9{
10 // All length-related unit types must be listed here.
11 func.template operator()<LengthUnit>();
12 func.template operator()<AreaUnit>();
13 func.template operator()<VolumeUnit>();
14 func.template operator()<MovementSpeedUnit>();
15 func.template operator()<InvLengthUnit>();
16}
17static void forAllAngleUnits( auto&& func )
18{
19 // All angle-related unit types must be listed here.

Callers 4

forAllUnitsFunction · 0.85
setUiLengthUnitFunction · 0.85
setModelLengthUnitFunction · 0.85
setUiLengthPrecisionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected