Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JS1k, 1k Javascript demo contest. Parent comment
http://news.ycombinator.com/item?id=1227936
As I understand it, the trig calls are just to establish the camera position and direction. The rest of the calculation (the two inner loops) is marching along a ray to find a depth value.
There are no comments on this comment yet.
http://news.ycombinator.com/item?id=1227936
As I understand it, the trig calls are just to establish the camera position and direction. The rest of the calculation (the two inner loops) is marching along a ray to find a depth value.