Replaced uint32_t with size_t.
This commit is contained in:
parent
1e9fdf074a
commit
9a8e816485
@ -55,7 +55,7 @@ namespace PolyVox
|
||||
const VertexType* getRawVertexData(void) const;
|
||||
POLYVOX_DEPRECATED const std::vector<VertexType>& getVertices(void) const;
|
||||
|
||||
uint32_t getNoOfIndices(void) const;
|
||||
size_t getNoOfIndices(void) const;
|
||||
IndexType getIndex(uint32_t index) const;
|
||||
const IndexType* getRawIndexData(void) const;
|
||||
POLYVOX_DEPRECATED const std::vector<IndexType>& getIndices(void) const;
|
||||
|
@ -36,7 +36,7 @@ namespace PolyVox
|
||||
template <typename VertexType, typename IndexType>
|
||||
IndexType Mesh<VertexType, IndexType>::getNoOfVertices(void) const
|
||||
{
|
||||
return m_vecVertices.size();
|
||||
return static_cast<IndexType>(m_vecVertices.size());
|
||||
}
|
||||
|
||||
template <typename VertexType, typename IndexType>
|
||||
@ -58,7 +58,7 @@ namespace PolyVox
|
||||
}
|
||||
|
||||
template <typename VertexType, typename IndexType>
|
||||
uint32_t Mesh<VertexType, IndexType>::getNoOfIndices(void) const
|
||||
size_t Mesh<VertexType, IndexType>::getNoOfIndices(void) const
|
||||
{
|
||||
return m_vecIndices.size();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user