24 #ifndef __PolyVox_Array_H__
25 #define __PolyVox_Array_H__
75 template <u
int32_t noOfDims,
typename ElementType>
97 void resize(
const uint32_t (&pDimensions)[noOfDims]);
108 void deallocate(
void);
110 uint32_t * m_pDimensions;
111 uint32_t * m_pOffsets;
112 uint32_t m_uNoOfElements;
113 ElementType * m_pElements;
116 template <
typename ElementType>
128 const ElementType&
operator[] (uint32_t uIndex)
const;
134 void resize(
const uint32_t (&pDimensions)[1]);
143 void deallocate(
void);
145 uint32_t * m_pDimensions;
146 ElementType * m_pElements;
149 template <
typename ElementType>