How much boilerplate code you need to write a ray-tracer? | Hacker News Reader