#include <Render.h>
|
size_t | GetEndIndex (size_t i) |
| Returns the (exclusive) end point index (i.e. index within m_Points) of dash n. More...
|
|
size_t SDashedLine::GetEndIndex |
( |
size_t |
i | ) |
|
|
inline |
Returns the (exclusive) end point index (i.e. index within m_Points) of dash n.
Packed array of consecutive dashes' points. Use m_StartIndices to navigate it.
std::vector<size_t> SDashedLine::m_StartIndices |
Start indices in m_Points of each dash.
Dash n starts at point m_StartIndices[n] and ends at the point with index m_StartIndices[n+1] - 1, or at the end of the m_Points vector. Use the GetEndIndex(n) convenience method to abstract away the difference and get the (exclusive) end index of dash n.
The documentation for this struct was generated from the following file:
- /var/svn/checkout/source/simulation2/helpers/Render.h