Optimisation, including use of VolumeSampler.

This commit is contained in:
David Williams
2011-05-12 21:01:49 +01:00
parent d0adeb328b
commit 14aa5af084
2 changed files with 26 additions and 58 deletions

View File

@ -82,7 +82,7 @@ namespace PolyVox
Array<4, uint8_t> m_faces;
std::vector< std::list<Quad> > m_vecQuads[NoOfFaces];
std::vector< std::vector<Quad> > m_vecQuads[NoOfFaces];
bool m_bMergeQuads;
@ -95,7 +95,7 @@ namespace PolyVox
// Decimation
////////////////////////////////////////////////////////////////////////////////
bool decimate(std::list<Quad>& quads);
bool decimate(std::vector<Quad>& quads);
std::pair<bool, Quad> mergeQuads(const Quad& q1, const Quad& q2);