Removed deprecated functions.

This commit is contained in:
David Williams
2015-12-26 23:41:49 +00:00
parent e89a55d154
commit d544de6dd1
5 changed files with 9 additions and 31 deletions

View File

@ -119,7 +119,7 @@ namespace PolyVox
{
//All four vertices of a given quad have the same data,
//so just check that the first pair of vertices match.
if (m_meshCurrent->getVertices()[q1.vertices[0]].data == m_meshCurrent->getVertices()[q2.vertices[0]].data)
if (m_meshCurrent->getVertex(q1.vertices[0]).data == m_meshCurrent->getVertex(q2.vertices[0]).data)
{
//Now check whether quad 2 is adjacent to quad one by comparing vertices.
//Adjacent quads must share two vertices, and the second quad could be to the