Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
1584d0fa
Commit
1584d0fa
authored
Apr 27, 2018
by
Martin Schultz
Browse files
removed commented ccode corpse
parent
eb5d2183
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs_required/ACG/GL/DrawMeshT.cc
View file @
1584d0fa
...
...
@@ -1665,16 +1665,8 @@ void DrawMeshT<Mesh>::updatePickingVertices_opt(ACG::GLState& _state)
template
<
class
Mesh
>
bool
ACG
::
DrawMeshT
<
Mesh
>::
supportsPickingVertices_opt
()
{
// load and compile picking shader
// load once directly from files:
// if (!pickVertexShader_)
// {
// if (pickVertexMethod_ == 0)
// pickVertexShader_ = GLSL::loadProgram("Picking/pick_vertices_vs.glsl", "Picking/pick_vertices_fs.glsl");
// else
// pickVertexShader_ = GLSL::loadProgram("Picking/vertex.glsl", "Picking/pick_vertices_fs2.glsl");
// }
// load and compile picking shader if necessary
// use shaderGenDesc to generate shaders for better shader compatibility
static
ShaderGenDesc
desc
;
// load from cache
if
(
pickVertexMethod_
==
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment