This is just one quad.. Tommorow I'll probably implement the real stuff.. hopefully :).
Edit, I forgot I'd like to help people whoever have the same problem. Here is the index:
pIndices[n++] = x + y * (m_wCols + 1); pIndices[n++] = x + 1 + y * (m_wCols + 1); pIndices[n++] = x + 1 + (y + 1) * (m_wCols + 1); pIndices[n++] = x + y * (m_wCols + 1); pIndices[n++] = x + 1 + (y + 1) * (m_wCols + 1); pIndices[n++] = x + (y + 1) * (m_wCols + 1);
[Edited by - ajoling on September 20, 2004 4:09:09 PM]