I was looking into scene::IMeshCache and see something that i do not understand; please help me to get the logic:
/* we remember that scene::IMesh is base class for scene::IAnimatedMesh */
we have
Code: Select all
addMesh (const io::path &name, IAnimatedMesh *mesh)
we have
Code: Select all
virtual s32 getMeshIndex (const IMesh *const mesh)
virtual s32 getMeshIndex (const IAnimatedMesh *const mesh)
/* the same for getMeshName(), removeMesh() and renameMesh() -- we have useless overloadings */