VS2015-code analysis: fix finding ( index var type too small ).

This commit is contained in:
Kim Kulling
2016-04-23 09:43:20 +02:00
parent fcd1f21231
commit 7468ca5c35
2 changed files with 22 additions and 11 deletions

View File

@@ -568,7 +568,10 @@ typedef std::vector<SubMesh*> SubMeshList;
class Mesh
{
public:
/// Constructor.
Mesh();
/// Destructor.
~Mesh();
/// Releases all memory that this data structure owns.
@@ -578,7 +581,7 @@ public:
size_t NumSubMeshes() const;
/// Returns submesh for @c index.
SubMesh *GetSubMesh(uint16_t index) const;
SubMesh *GetSubMesh( size_t index) const;
/// Convert mesh to Assimp scene.
void ConvertToAssimpScene(aiScene* dest);