Modified HW3 code for OpenGL GLFW refraction ray tracing project.