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

Function getMouseModeString

source/MRViewer/MRMouse.h:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26};
27
28inline std::string getMouseModeString( MouseMode mode )
29{
30 constexpr std::array<const char*, size_t( MouseMode::Count )> names =
31 {
32 _t( "None" ),
33 _t( "Rotation" ),
34 _t( "Translation" ),
35 _t( "Roll" )
36 };
37 return names[int( mode )];
38}
39
40} //namespace MR

Callers 3

loadSettingsMethod · 0.85
saveSettingsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected