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

Method emsMainInfiniteLoop

source/MRViewer/MRViewer.cpp:572–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570#ifdef __EMSCRIPTEN__
571#ifndef MR_EMSCRIPTEN_ASYNCIFY
572void Viewer::emsMainInfiniteLoop()
573{
574 auto& viewer = getViewerInstance();
575 viewer.draw( true );
576 if ( viewer.eventQueue_ )
577 viewer.eventQueue_->execute();
578 CommandLoop::processCommands();
579}
580#else
581void Viewer::emsMainInfiniteLoop()
582{

Callers

nothing calls this directly

Calls 2

executeMethod · 0.80
drawMethod · 0.45

Tested by

no test coverage detected