Added function to get Array size.

Added new operators to Vector.
This commit is contained in:
David Williams
2011-01-10 21:29:18 +00:00
parent b607653e9f
commit 359c9ec343
4 changed files with 119 additions and 39 deletions

View File

@ -97,6 +97,8 @@ namespace PolyVox
void resize(const uint32_t (&pDimensions)[noOfDims]);
///Swaps the contents of this array with the one specified
void swap(Array<noOfDims, ElementType>& rhs);
///Get the size of the Array along the specified dimension
uint32_t getDimension(uint32_t uDimension);
private:
Array<noOfDims, ElementType>(const Array<noOfDims, ElementType>& rhs);