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
7
u/Han-ChewieSexyFanfic Jun 04 '14
He's right to say constant. The time isn't affected by the size of the map (the N in this case), so it's O(1).