Functions | |
void | Compute_Transformed_Points (int count, const HC_POINT *points, const float *matrix, HC_POINT *out_points) |
void | DCompute_Transformed_Points (int count, const HCD_POINT *points, const double *matrix, HCD_POINT *out_points) |
void Compute_Transformed_Points | ( | int | count, | |
const HC_POINT * | points, | |||
const float * | matrix, | |||
HC_POINT * | out_points | |||
) |
Applies a user-specified transform to any number of points.
count | - Number of xyz triplets in points | |
points | - As in Insert_Polygon() , xyz triplets to specify the 3D vertices of the polygon. | |
matrix | - Input transformation matrix. | |
out_points | - Output points: points put through matrix. Can point to the same place as points. |
void DCompute_Transformed_Points | ( | int | count, | |
const HCD_POINT * | points, | |||
const double * | matrix, | |||
HCD_POINT * | out_points | |||
) |
Similar to Compute_Transformed_Points() but accepts and returns double-precision values.
count | - Number of xyz triplets in points | |
points | - As in Insert_Polygon() , xyz triplets to specify the 3D vertices of the polygon. | |
matrix | - Input transformation matrix. | |
out_points | - Output points: points put through matrix. Can point to the same place as points. |