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

Method RemoveOwnerMesh

trinity/Tr2MeshArea.cpp:198–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void Tr2MeshArea::RemoveOwnerMesh( Tr2MeshBase* mesh )
199{
200 auto found = find( begin( m_ownerMeshes ), end( m_ownerMeshes ), mesh );
201 if( found != end( m_ownerMeshes ) )
202 {
203 *found = m_ownerMeshes.back();
204 m_ownerMeshes.pop_back();
205 }
206 else
207 {
208 CCP_ASSERT( false );
209 }
210}
211
212bool Tr2MeshArea::HasVertexBufferAccessInRtShadow()
213{

Callers 2

~Tr2MeshBaseMethod · 0.80
OnListModifiedMethod · 0.80

Calls 2

beginFunction · 0.70
endFunction · 0.70

Tested by

no test coverage detected