PolyVox and Thermite3D now support the use of a density component as well as a material component for each voxel.

This commit is contained in:
David Williams
2010-06-25 21:41:13 +00:00
parent 29928b774d
commit 254fa3329e
24 changed files with 802 additions and 371 deletions

View File

@ -23,6 +23,8 @@ distribution.
*******************************************************************************/
#pragma endregion
#include <algorithm>
namespace PolyVox
{
template <uint32_t N>

View File

@ -26,10 +26,12 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_MarchingCubeTables_H__
#define __PolyVox_MarchingCubeTables_H__
#include "TypeDef.h"
namespace PolyVox
{
extern int edgeTable[256];
extern int triTable[256][16];
extern POLYVOXCORE_API int edgeTable[256];
extern POLYVOXCORE_API int triTable[256][16];
}
#endif