MCPcopy Create free account
hub / github.com/carbonengine/trinity / Find

Method Find

trinityal/Tr2VertexDefinition.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81Tr2VertexDefinition::Item* Tr2VertexDefinition::Find( UsageCode usage )
82{
83 auto it = std::find_if( begin( m_items ), end( m_items ), [=]( const Item& v ) { return v.m_usage == usage; } );
84
85 return it == m_items.end() ? nullptr : &*it;
86}
87
88Tr2VertexDefinition::Item* Tr2VertexDefinition::Find( UsageCode usage, unsigned usageIndex )
89{

Callers 8

InitMorphToBaseDataFunction · 0.80
ProcessMeshTrianglesMethod · 0.80
GetIntersectionPointsMethod · 0.80
RenderDebugInfoMethod · 0.80
PrepareMorphBuffersMethod · 0.80
TESTFunction · 0.80

Calls 3

beginFunction · 0.50
endFunction · 0.50
endMethod · 0.45

Tested by 1

TESTFunction · 0.64