12 lines
233 B
Plaintext
12 lines
233 B
Plaintext
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public static class VectorUtils
|
||
|
{
|
||
|
public static Vector2 FromRad(float rad)
|
||
|
{
|
||
|
return new Vector2(Mathf.Cos(rad), Mathf.Sin(rad));
|
||
|
}
|
||
|
}
|