AddTriangle
Adds a triangle.
AddTriangle ( surface,v0,v1,v2 )
Parameters
- surface
- the surface's handle.
- v0
- the first corner's point number, from AddVertex.
- v1
- the second corner's.
- v2
- the third corner's.
Description
Joins three points of a surface into a triangle, and gives back the triangle's number, counting from 0. The triangle shows from the side where its corners go round clockwise; from the other side it can't be seen.
