Fixed TriangleIterator with TriangleStrip mode
Former-commit-id: 4d0303859e4818e9f5592b0226cb479f1c9d1ef3
This commit is contained in:
parent
2bfb798dd9
commit
92df395a0e
|
|
@ -46,8 +46,8 @@ bool NzTriangleIterator::Advance()
|
|||
|
||||
case nzPrimitiveMode_TriangleStrip:
|
||||
m_triangleIndices[2] = m_indexMapper.Get(m_currentIndex++);
|
||||
m_triangleIndices[1] = m_triangleIndices[2];
|
||||
m_triangleIndices[0] = m_triangleIndices[1];
|
||||
m_triangleIndices[1] = m_triangleIndices[2];
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue