intrinsic-157 Add3DTriangle |
Top Previous Next |
157: Add3DTriangle(Handle, X1,Y1,Z1, X2,Y2,Z2, X3,Y3,Z3, Color);
This intrinsic adds a triangle to an existing mesh.
Arguments: Handle. This argument is an integer handle created by the Add3DObject intrinsic. It specifies the mesh to which the triangle is added. The handle must refer to a Mesh object.
X1,Y1,Z1, X2,Y2,Z2, X3,Y3,Z3. These nine items are real values that specify the X, Y and Z coordinates of the three corners of the triangle.
Color: This is an integer value that specifies the RGB Color of the triangle.
|