d3d_vertex_color(x,y,z,col,alpha)

Note: All 3D functions are restricted to registered users only.

 

x = x coordinate of the vertex to add

y = y coordinate of the vertex to add

z = z coordinate of the vertex to add

col = colour of the point to be drawn

alpha = alpha of the point to be drawn

 

Example

d3d_vertex_color(x+10,y+15,32,c_white,0.8);

 

This function adds a vertex to the primitive currently being drawn. It will be drawn with its own colour and alpha, specified in the function parameters.

monkey dude - Revision #1