int AddLineVertex(linearraystruct* linearray,bool newline,vect3d v,DWORD color)
Add a new vertex to the specified line buffer.
linearray: Current line buffer.
newline: TRUE - start, or continue the line. FALSE - close line.
v: The coordinate of new vertex.
color: The color of new vertex.