Added android support for shadow mapping (projected and omni) and texture (array and cubemap ) example (#97)
This commit is contained in:
parent
c6bdca128a
commit
08fc2feecc
33 changed files with 1363 additions and 77 deletions
|
|
@ -367,7 +367,8 @@ public:
|
|||
for (unsigned int i = 0; i < paiMesh->mNumFaces; i++)
|
||||
{
|
||||
const aiFace& Face = paiMesh->mFaces[i];
|
||||
assert(Face.mNumIndices == 3);
|
||||
if (Face.mNumIndices != 3)
|
||||
continue;
|
||||
m_Entries[index].Indices.push_back(Face.mIndices[0]);
|
||||
m_Entries[index].Indices.push_back(Face.mIndices[1]);
|
||||
m_Entries[index].Indices.push_back(Face.mIndices[2]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue