unit test: missing mNumIndices
parent
ce6a5e5d56
commit
43dedb6e09
|
@ -101,8 +101,11 @@ TEST_F(VTAdjacencyTest, smallDataSet)
|
|||
|
||||
mesh.mFaces = new aiFace[3];
|
||||
mesh.mFaces[0].mIndices = new unsigned int[3];
|
||||
mesh.mFaces[0].mNumIndices = 3;
|
||||
mesh.mFaces[1].mIndices = new unsigned int[3];
|
||||
mesh.mFaces[1].mNumIndices = 3;
|
||||
mesh.mFaces[2].mIndices = new unsigned int[3];
|
||||
mesh.mFaces[2].mNumIndices = 3;
|
||||
|
||||
mesh.mFaces[0].mIndices[0] = 1;
|
||||
mesh.mFaces[0].mIndices[1] = 3;
|
||||
|
|
Loading…
Reference in New Issue