mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge branch 'dev' of https://github.com/xen-42/outer-wilds-new-horizons into dev
This commit is contained in:
commit
afdaeb6e30
@ -59,6 +59,7 @@ namespace NewHorizons.Builder.Body.Geometry
|
||||
public static Mesh Build(int subdivisions, float minHeight, float maxHeight)
|
||||
{
|
||||
Mesh mesh = new Mesh();
|
||||
mesh.name = "Icosphere";
|
||||
|
||||
if (vertices.Count <= subdivisions) RefineFaces(subdivisions);
|
||||
|
||||
|
||||
@ -125,6 +125,7 @@ namespace NewHorizons.Utility.DebugUtilities
|
||||
}.Select(vIdx => vIdx + topVerts.Length+bottomVerts.Length).ToArray();
|
||||
|
||||
Mesh m = new Mesh();
|
||||
m.name = "DebugArrow";
|
||||
m.vertices = topVerts.Concat(bottomVerts).Concat(sideVerts).ToArray();
|
||||
m.triangles = topTris.Concat(bottomTris).Concat(sideTris).ToArray();
|
||||
m.RecalculateNormals();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user