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

Method getNumPressed

source/MRViewer/MRTouchesController.cpp:196–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196int TouchesController::MultiInfo::getNumPressed() const
197{
198 int counter = 0;
199 if ( info_[0].id != -1 )
200 ++counter;
201 if ( info_[1].id != -1 )
202 ++counter;
203 return counter;
204}
205
206std::optional<TouchesController::MultiInfo::Finger> TouchesController::MultiInfo::getFingerById( int id ) const
207{

Callers 2

onTouchStart_Method · 0.80
onTouchMove_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected