fix vertex array length

main
Evan Hemsley 2020-07-28 02:49:30 -07:00
parent 29a5ab2817
commit 1a80f6cdd5
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ namespace Smuggler
BufferUsage.WriteOnly
);
var vertices = new VertexPositionNormalTexture[primitive.IndexAccessor.Count];
var vertices = new VertexPositionNormalTexture[positions.Length];
var indices = new uint[primitive.IndexAccessor.Count];
var indexCounter = 0;