| 26 | }; |
| 27 | |
| 28 | inline 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 |
no outgoing calls
no test coverage detected