feat(core): add Vertex.TerrainLayer + LandblockMesh layer map
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bc69f0cdf1
commit
324abed6eb
7 changed files with 64 additions and 29 deletions
|
|
@ -55,7 +55,7 @@ public static class GfxObjMesh
|
|||
if (!bucket.Dedupe.TryGetValue(key, out var outIdx))
|
||||
{
|
||||
outIdx = (uint)bucket.Vertices.Count;
|
||||
bucket.Vertices.Add(new Vertex(sw.Origin, sw.Normal, texcoord));
|
||||
bucket.Vertices.Add(new Vertex(sw.Origin, sw.Normal, texcoord, TerrainLayer: 0));
|
||||
bucket.Dedupe[key] = outIdx;
|
||||
}
|
||||
polyOut.Add(outIdx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue