Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Making Balls Bounce off of Walls in a Labyrinth. Parent comment
The reflection R of an incident vector I hitting a wall with normal N is 2(N.I)N - I
There are no comments on this comment yet.
The reflection R of an incident vector I hitting a wall with normal N is 2(N.I)N - I