#6 [DO NOT SQUASH] Performance improvements for vector.lua

Open
pgimeno wants to merge 2 commits from pgimeno/pg-accelerate-dir2rot into pgimeno/master

2 Commits

Author SHA1 Message Date
  Pedro Gimeno 90f34f3151 Replace vector.dir_to_rotation with a faster one 4 years ago
  Pedro Gimeno 82c56e2cd0 vector.lua: Cache math functions in locals 4 years ago