Ray Tracing in OpenGL/C++