update MyGLWidget3D for camera navigation.