src/gl/partrenderer.cpp

changeset 119
24275a4064f4
parent 112
5760cbb32bc0
child 120
8c9fff699241
equal deleted inserted replaced
118:8e1c9f18ae15 119:24275a4064f4
176 case gl::RenderStyle::PickScene: 176 case gl::RenderStyle::PickScene:
177 glLineWidth(3.0f); 177 glLineWidth(3.0f);
178 this->setFragmentStyle(gl::FragmentStyle::Id); 178 this->setFragmentStyle(gl::FragmentStyle::Id);
179 this->renderAllArrays(); 179 this->renderAllArrays();
180 break; 180 break;
181 case gl::RenderStyle::VertexPickScene:
182 glLineWidth(1.0f);
183 this->setFragmentStyle(gl::FragmentStyle::Black);
184 this->renderAllArrays();
185 break;
181 case gl::RenderStyle::Wireframe: 186 case gl::RenderStyle::Wireframe:
182 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 187 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
183 this->setFragmentStyle(gl::FragmentStyle::Normal); 188 this->setFragmentStyle(gl::FragmentStyle::Normal);
184 this->renderAllArrays(); 189 this->renderAllArrays();
185 break; 190 break;

mercurial