Beispiel #1
0
 internal Mesh(Vector3[] vertices, int[] indices, GeometryMeshing.IndexKind kind)
 {
     this.vertices    = vertices;
     this.indices     = indices;
     this.vertexCount = (ushort)this.vertices.Length;
     this.indexCount  = (uint)this.indices.Length;
     this.indexKind   = kind;
 }
Beispiel #2
0
 internal Mesh(Vector3[] vertices, int[] indices, GeometryMeshing.IndexKind kind)
 {
     this.vertices = vertices;
     this.indices = indices;
     this.vertexCount = (ushort)((int)this.vertices.Length);
     this.indexCount = (uint)this.indices.Length;
     this.indexKind = kind;
 }