New PickingVisitor for selecting Nodes from mouse clic

Cleanup Mixer and other Visitor classes.
This commit is contained in:
brunoherbelin
2020-04-19 23:11:18 +02:00
parent 8424d9a6c7
commit 0d87aa8bf6
9 changed files with 149 additions and 65 deletions

View File

@@ -272,7 +272,7 @@ void Switch::draw(glm::mat4 modelview, glm::mat4 projection)
void Switch::accept(Visitor& v)
{
Group::accept(v);
Node::accept(v);
v.visit(*this);
}