Description
The correct value is the one in the functor.
Replace every
const int nVerts = (m_slices + 1) * (m_rings + 1);
with
const int nVerts =(m_slices + 1) * m_rings + 2 * (m_slices + 1) + 2;
The correct value is the one in the functor.
Replace every
const int nVerts = (m_slices + 1) * (m_rings + 1);
with
const int nVerts =(m_slices + 1) * m_rings + 2 * (m_slices + 1) + 2;