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

Method getPosition

source/MRViewer/MRTouchesController.cpp:179–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179std::optional<Vector2f> TouchesController::MultiInfo::getPosition( Finger fing ) const
180{
181 const auto& infoRef = info_[int(fing)];
182 if ( infoRef.id != -1 )
183 return infoRef.position;
184 return {};
185}
186
187std::optional<Vector2f> TouchesController::MultiInfo::getPosition( int id ) const
188{

Callers 1

onTouchMove_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected