AddVertex
Adds a vertex.
AddVertex ( surface,x#,y#,z#[,u#][,v#][,w#] )
Parameters
- surface
- the surface's handle.
- x#
- the point's position across.
- y#
- its height.
- z#
- its depth.
- u# (optional)
- where on a texture this point is, across: 0 is the texture's left edge and 1 its right.
- v# (optional)
- where on a texture it is, down: 0 is the top and 1 the bottom.
- w# (optional)
- kept for older programs; it has no effect. Defaults to 1.
Description
Adds a point (a vertex) to a surface and gives back its number, counting from 0. Triangles are made by joining three of these points with AddTriangle.
