nNumMesh variable

Hi!


In the exemple 16 (complexe lighting) specially in “LoadVbos” method there is this instruction:


if (!m_puiVbo)      m_puiVbo = new GLuint[m_Scene.nNumMesh];


I would like to know from where he take the value of nNumMesh.


Great thanks!

The value nNumMesh is the number of meshes present in the POD scene that’s been loaded into the m_Scene variable.