vrld/hump — pull request #20 by out-of-pixel (2013-06-29 15:48:01+00:00)
Title: add angle function

Returns the angle between a vector and the default rotation.
Useful to rotate a Sprite in direction to there moving vector.

Usage:
vec = vector.new()
...
posX = vec.x
posY = vec.y
angle = vec:angle()
...
love.graphics.draw(pict, posX, posY, angle)

Hope you like it!