void GLFWCALL mouseButtonListener( int button, int action )
{
// If left mouse button has been pressed...
if( button == GLFW_MOUSE_BUTTON_LEFT && action == GLFW_PRESS)
{
int x, y;
int width, height;
// get mouse position
glfwGetMousePos(&x, &y);
// get window size for normalization
glfwGetWindowSize(&width, &height);
// pick the node under the normalized mouse position
app->pick( x / float( width ), (height - y) / float( height ) );
}
}