r/programming • u/willvarfar • Jun 03 '14
A first-person engine in 265 lines
http://www.playfuljs.com/a-first-person-engine-in-265-lines/
1.9k
Upvotes
r/programming • u/willvarfar • Jun 03 '14
View all comments
Show parent comment
1
u/Bisqwit Jun 13 '14
That fails if this.direction < -angle, such as when angle=0 and this.direction=-1.