planet rendering

This commit is contained in:
2024-12-15 16:51:09 -06:00
parent 5a62541e21
commit b9a1347fae
8 changed files with 328 additions and 130 deletions

9
Assets/Utility.cs Normal file
View 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);
}
}