Skip to content

Instantly share code, notes, and snippets.

@Bailey3D
Last active October 19, 2019 20:44
Show Gist options
  • Save Bailey3D/d210d084544f3c7ceeb4cc27c3a1e238 to your computer and use it in GitHub Desktop.
Save Bailey3D/d210d084544f3c7ceeb4cc27c3a1e238 to your computer and use it in GitHub Desktop.
//Angle to Direction
float2 AngleToDirection(float Direction)
{
float2 Angle = {sin(Direction), cos(Direction)};
return Angle;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment