Made method const.
This commit is contained in:
parent
639eb6620f
commit
cd48c6f611
@ -57,7 +57,7 @@ namespace PolyVox
|
|||||||
|
|
||||||
uint32_t getNoOfIndices(void) const;
|
uint32_t getNoOfIndices(void) const;
|
||||||
IndexType getIndex(uint32_t index) const;
|
IndexType getIndex(uint32_t index) const;
|
||||||
const IndexType* getRawIndexData(void);
|
const IndexType* getRawIndexData(void) const;
|
||||||
POLYVOX_DEPRECATED const std::vector<IndexType>& getIndices(void) const;
|
POLYVOX_DEPRECATED const std::vector<IndexType>& getIndices(void) const;
|
||||||
|
|
||||||
const Vector3DInt32& getOffset(void) const;
|
const Vector3DInt32& getOffset(void) const;
|
||||||
|
@ -70,7 +70,7 @@ namespace PolyVox
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename VertexType, typename IndexType>
|
template <typename VertexType, typename IndexType>
|
||||||
const IndexType* Mesh<VertexType, IndexType>::getRawIndexData(void)
|
const IndexType* Mesh<VertexType, IndexType>::getRawIndexData(void) const
|
||||||
{
|
{
|
||||||
return &(m_vecIndices[0]);
|
return &(m_vecIndices[0]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user