summaryrefslogtreecommitdiff
path: root/Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedMeshPartInternal.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedMeshPartInternal.cs')
-rw-r--r--Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedMeshPartInternal.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedMeshPartInternal.cs b/Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedMeshPartInternal.cs
new file mode 100644
index 0000000..9bc07cd
--- /dev/null
+++ b/Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedMeshPartInternal.cs
@@ -0,0 +1,16 @@
+namespace NGS.MeshFusionPro;
+
+public class CombinedMeshPartInternal : CombinedMeshPart
+{
+ public CombinedMeshPartInternal(CombinedMesh root, int index, int vertexStart, int vertexCount, int trianglesStart, int trianglesCount)
+ : base(root, index, vertexStart, vertexCount, trianglesStart, trianglesCount)
+ {
+ }
+
+ public void Offset(int newIndex, int newVertexStart, int newTrianglesStart)
+ {
+ base.Index = newIndex;
+ base.VertexStart = newVertexStart;
+ base.TrianglesStart = newTrianglesStart;
+ }
+}