int __stdcall AddLineVertexPoint(linearraystruct* linearray,bool newline,vect3d v,DWORD color,int type);
Vertex types:
#define LINE 0
#define DOT 1