Work on making the surface extractor use the new Array class.

This commit is contained in:
David Williams
2010-03-14 22:24:32 +00:00
parent dbde097547
commit 34d138417e
4 changed files with 163 additions and 127 deletions

View File

@ -154,6 +154,11 @@ namespace PolyVox
rhs.m_pData = temp;
}
void fillWithUint8(uint8_t value)
{
memset(m_pData, value, m_uWidth * m_uHeight * sizeof(ElementType));
}
private:
//Dimensions
uint32_t m_uWidth;