Added function snapWorldPtToGrid
Merge branch 'master' of https://github.com/kongming92/emgame