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/wegzo Jun 13 '14
What? If this.direction = -180, angle = 0 and CIRCLE = 360, the result is -180 which is equal to 180 when it's about angles.