A simple ray-tracer program in C