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

Method update_

source/MRViewer/MRRenderLinesObject.cpp:448–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446}
447
448void RenderLinesObject::update_()
449{
450 auto objDirty = objLines_->getDirtyFlags();
451 // DIRTY_POSITION because we use corner rendering and need to update render verts
452 if ( objDirty & DIRTY_FACE ) // first to also activate all flags due to DIRTY_POSITION later
453 objDirty |= DIRTY_POSITION | DIRTY_VERTS_COLORMAP;
454 dirty_ |= objDirty;
455 objLines_->resetDirty();
456}
457
458bool RenderLinesObject::needAccumLengthDirtyUpdate_( const ModelRenderParams& params )
459{

Callers

nothing calls this directly

Calls 1

resetDirtyMethod · 0.80

Tested by

no test coverage detected