fix vertex array length
parent
29a5ab2817
commit
1a80f6cdd5
|
@ -60,7 +60,7 @@ namespace Smuggler
|
||||||
BufferUsage.WriteOnly
|
BufferUsage.WriteOnly
|
||||||
);
|
);
|
||||||
|
|
||||||
var vertices = new VertexPositionNormalTexture[primitive.IndexAccessor.Count];
|
var vertices = new VertexPositionNormalTexture[positions.Length];
|
||||||
var indices = new uint[primitive.IndexAccessor.Count];
|
var indices = new uint[primitive.IndexAccessor.Count];
|
||||||
var indexCounter = 0;
|
var indexCounter = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue