Move viewport-size() to util
Take player heading by tracking cursor position on mousedown