For an example of a tristrip, see HT_Renderer::draw_3d_tristrip .
face_colors
face_colors_count
face_normals_count
face_normals
HT_Tristrip
Purpose
void set_face_colors (int count, HT_RGB32 const * colors, HT_Boolean copy)
HT_RGB32 const * face_colors (void)
void set_face_colors (void * dummy)
The first method sets the face colors in this tristrip 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 tristrip object. If the copy parameter is HK_False, the tristrip object color array refers directly to the array of colors in the colors array.
The second method returns a pointer to the internal array of face colors.
The third method resets the face colors to an empty pointer.
dummy
has
to be a null pointer.
Purpose
int face_colors_count (void)
Purpose
int face_normal_count (void)
Purpose
void set_face_normals(int count, HT_Vector const * normals, HT_Boolean copy = HK_False) alter
HT_Vector const * face_normals (void) const
void set_face_normals (void * dummy)
The first method sets the face normals in this tristrip 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 tristrip object. If the copy parameter is HK_False, the tristrip 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 face normals.
The third method resets the face normals to an empty pointer.
dummy
has
to be a null pointer.
Purpose
HT_Tristrip (void)
HT_Tristrip(int count, HT_Point const * points)
HT_Tristrip(int count, HT_Point const * points, HT_Boolean copy)
The parameter interface now allows for "n" triplets of texture vertex parameter data to be associated with each vertex of tristrips. In this case, if the tristrip has 100 points and the parameter width is specified as 3, the array of parameters should be 300 long, the first 3 associated with the first vertex, the next 3 with the second, and so forth. For more information see HT_Vertex_Set::set_vertex_parameters.