#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...
|
|
Definition at line 36 of file Render.h.
size_t SDashedLine::GetEndIndex |
( |
size_t |
i | ) |
|
|
inline |
Returns the (exclusive) end point index (i.e. index within m_Points) of dash n.
Definition at line 49 of file Render.h.
Packed array of consecutive dashes' points. Use m_StartIndices to navigate it.
Definition at line 39 of file Render.h.
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.
Definition at line 46 of file Render.h.
The documentation for this struct was generated from the following file:
- /home/sathyam/0ad.svn/source/simulation2/helpers/Render.h