void prefix::CCompoundCollider::Render( Moose::Graphics::COglRenderer & renderer ) { if ( m_pTransform ) renderer.CommitTransform(*m_pTransform); for_each( m_vecColliders.begin(), m_vecColliders.end(), CallRender(renderer) ); if ( m_pTransform ) renderer.RollbackTransform(); }
void Window::Update(){ // TextureDisplayer_Check(); //glClearColor(0.0f, 0.0f, 0.0f, 0.0f); //ConsoleEcho("un rendu"); CallRender(); Sleep (PerFrameIdleTime); }