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; |