Hacker News new | ask | show | jobs
by red_Seashell_32 1253 days ago
Further on this - inputDir is just vector, which says where to movement is happening.

As initial is x=0, y=1, it means it will increase position Y by 1 - in other words it initially goes downwards.