migrate GLFW3
change the object pointed by the variable sphere to const