For an example of a linestrip, see HT_Renderer::draw_3d_linestrip.
line_colors
line_color_count
line_normal_count
line_normals
HT_Linestrip
Purpose
void set_line_colors (int count, HT_RGB32 const * colors, HT_Boolean copy)
HT_RGB32 const * line_colors (void)
void set_line_colors (void * dummy)
The first method sets the segment colors in this linestrip according to the colors passed in the parameter colors. If the copy parameter is HK_True, then count colors are copied from the colors array into the linestrip object. If the copy parameter is HK_False, the linestrip object color array refers directly to the array of colors in the colors array. In this case, the application must ensure that the array and linestrip object are deleted in correct order.
The second method returns a pointer to the internal array of line colors.
The third method resets line_colors to an empty pointer and dummy has to be a null pointer.
Purpose
int line_color_count (void)
Purpose
int line_normal_count (void)
Purpose
void set_line_normals (int count, HT_Vector const * normals, HT_Boolean copy)
HT_Vector const * line_normals (void)
void set_line_normals (void * dummy)
The first method sets the segment normals in this linestrip according to the normals passed in the parameter normals. If the copy parameter is HK_True, then count normals are copied from the normals array into the linestrip object. If the copy parameter is HK_False, the linestrip object normal array refers directly to the array of normals in the normals array.
The second method returns a pointer to the internal array of line normals.
The third method resets line_normals to an empty pointer and dummy has to be a null pointer.
Purpose
HT_Linestrip (void)
HT_Linestrip(int count, HT_Point const * points) : HT_Segment_Set(count, points)
HT_Linestrip(int count, HT_Point const * points, HT_Boolean copy) : HT_Segment_Set(count, points, copy)