Cleared array.

This commit is contained in:
David Williams 2015-05-15 10:03:29 +02:00
parent b4267b11f5
commit 227b11a764

View File

@ -57,6 +57,7 @@ namespace PolyVox
memset(pIndicesZ.getRawData(), 0xff, pIndicesZ.getNoOfElements() * 4);
Array3DUint8 pBitmask(uArrayWidth, uArrayHeight, uArrayDepth);
memset(pBitmask.getRawData(), 0x00, pBitmask.getNoOfElements());
computeBitmaskForSlice<true>(pBitmask, pIndicesX, pIndicesY, pIndicesZ);