diff --git a/include/PolyVox/Mesh.h b/include/PolyVox/Mesh.h index 08bc0d07..64dbd11b 100644 --- a/include/PolyVox/Mesh.h +++ b/include/PolyVox/Mesh.h @@ -57,7 +57,7 @@ namespace PolyVox uint32_t getNoOfIndices(void) const; IndexType getIndex(uint32_t index) const; - const IndexType* getRawIndexData(void); + const IndexType* getRawIndexData(void) const; POLYVOX_DEPRECATED const std::vector& getIndices(void) const; const Vector3DInt32& getOffset(void) const; diff --git a/include/PolyVox/Mesh.inl b/include/PolyVox/Mesh.inl index c574687f..8a3d9312 100644 --- a/include/PolyVox/Mesh.inl +++ b/include/PolyVox/Mesh.inl @@ -70,7 +70,7 @@ namespace PolyVox } template - const IndexType* Mesh::getRawIndexData(void) + const IndexType* Mesh::getRawIndexData(void) const { return &(m_vecIndices[0]); }