CCollisionMeshData: Make use of size_t where applicable

Plays nicer with standard types.
This commit is contained in:
Lioncash
2020-06-18 04:37:17 -04:00
parent ce97d79fa3
commit 65482ba272
3 changed files with 21 additions and 21 deletions

View File

@@ -17,8 +17,8 @@ public:
explicit CCollisionMeshGroup(CResourceEntry *pEntry = nullptr) : CResource(pEntry) {}
~CCollisionMeshGroup() = default;
uint32 NumMeshes() const { return mMeshes.size(); }
CCollisionMesh* MeshByIndex(uint32 Index) const { return mMeshes[Index].get(); }
size_t NumMeshes() const { return mMeshes.size(); }
CCollisionMesh* MeshByIndex(size_t Index) const { return mMeshes[Index].get(); }
void AddMesh(std::unique_ptr<CCollisionMesh>&& pMesh) { mMeshes.push_back(std::move(pMesh)); }
void BuildRenderData()