mirror of
https://github.com/Xevion/Rebirth.git
synced 2025-12-08 10:08:10 -06:00
planet rendering
This commit is contained in:
9
Assets/Utility.cs
Normal file
9
Assets/Utility.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
public static class Utility
|
||||
{
|
||||
public static Vector3[] ToVector3(this Vector2[] vectors)
|
||||
{
|
||||
return System.Array.ConvertAll<Vector2, Vector3>(vectors, static v => v);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user