Created
May 12, 2020 02:38
-
-
Save DataGreed/a84b295ade22a6d2a1b4296dcf9ff01e to your computer and use it in GitHub Desktop.
Revisions
-
DataGreed renamed this gist
May 12, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
DataGreed created this gist
May 12, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ public static class Vector2Extension { public static Vector2 Rotate(this Vector2 v, float degrees) { return Quaternion.Euler(0, 0, degrees) * v; } }