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

Method PopClipRectangle

trinity/Sprite2d/Tr2Sprite2dScene.cpp:679–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677}
678
679void Tr2Sprite2dScene::PopClipRectangle()
680{
681 //CCP_STATS_ZONE( __FUNCTION__ );
682
683 if( m_ignoreClip )
684 {
685 return;
686 }
687
688 // TODO: Implement for 3d rendering
689 if( !m_is2dRender )
690 {
691 return;
692 }
693
694 CCP_ASSERT( !m_clipStack->empty() );
695 m_clipStack->pop_back();
696}
697
698
699const Tr2Sprite2dClipRect& Tr2Sprite2dScene::GetClipRectangle() const

Callers 3

GatherSpritesMethod · 0.80
PickPointMethod · 0.80
GatherSpritesHelperMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected