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

Method Reset

trinity/Tr2ImpostorManager.cpp:218–222  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Resets the manager: deletes all billboards. --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

216// Resets the manager: deletes all billboards.
217// --------------------------------------------------------------------------------------
218void Tr2ImpostorManager::Reset()
219{
220 m_objects.clear();
221 m_atlas.Resize( m_width, m_height, m_itemWidth, m_itemHeight );
222}
223
224// --------------------------------------------------------------------------------------
225// Description:

Callers 1

OnTickMethod · 0.45

Calls 1

ResizeMethod · 0.45

Tested by

no test coverage detected