4 Creating and Editing Triangles
Q3Triangle_GetVertexPosition
function to get the position of a vertex of a triangle.
TQ3Status Q3Triangle_GetVertexPosition ( TQ3GeometryObject triangle, unsigned long index, TQ3Point3D *point);triangle
A triangle.index
An index into thevertices
array of the specified triangle. This parameter should have the value 0, 1, or 2.point
On exit, the position of the specified vertex.
Q3Triangle_GetVertexPosition
function returns, in the point
parameter, the position of the vertex having the index specified by the index
parameter in the vertices
array of the triangle specified by the triangle
parameter.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker