Functions | |
HC_BOOLEAN | Compute_Polygon_Normal (int count, const HC_POINT *points, const char *hand, HC_POINT *out_vector) |
HC_BOOLEAN Compute_Polygon_Normal | ( | int | count, | |
const HC_POINT * | points, | |||
const char * | hand, | |||
HC_POINT * | out_vector | |||
) |
count | - Number of xyz triplets in points | |
points | - As in Insert_Polygon() , xyz triplets to specify the 3D vertices of the polygon. Must be coplanar. | |
hand | - The definition order of the polygon --- "left" or "right". | |
out_vector | - Output 3D vector returned to the caller. |