vrld/hump — Issue #3: Add a Angle to Vector function
Author: mkosler
Created: 2012-01-18 02:10:26+00:00
State: open

Something as simple as:

function angleToVector(radians)
return {x = math.sin(radians), y = math.cos(radians)}
end