#include <triangleiterator.h>
Public Member Functions | |
| ShapeTriangleStripIterator (const MeshShape &shape) | |
| virtual const ShapeTriangle | next () override |
Public Member Functions inherited from ShapeTriangleIterator | |
| ShapeTriangleIterator (const MeshShape &shape, int startIndex) | |
| virtual | ~ShapeTriangleIterator () |
| bool | isDone () const |
Additional Inherited Members | |
Protected Attributes inherited from ShapeTriangleIterator | |
| const uint32 * | mCurrentIndex |
| The current position in the index buffer of the shape that we're iterating through. More... | |
| int | mCurrentTriangle = 0 |
Implementation of ShapeTriangleIterator that can iterate through the triangles of a MeshShape of type EDrawMode::TRIANGLE_STRIP
| ShapeTriangleStripIterator | ( | const MeshShape & | shape | ) |
|
overridevirtual |
Retrieves the indices of the next triangle in the MeshShape. Should only be called while isDone() returns false.
Implements ShapeTriangleIterator.