unit test: missing mNumIndices
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user