Last active
October 19, 2019 20:44
-
-
Save Bailey3D/d210d084544f3c7ceeb4cc27c3a1e238 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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