Functions | |
HC_BOOLEAN | Compute_Transformed_Plane (const HC_PLANE *plane, const float *matrix, HC_PLANE *out_plane) |
HC_BOOLEAN | DCompute_Transformed_Plane (const HC_DPLANE *plane, const double *matrix, HC_DPLANE *out_plane) |
HC_BOOLEAN | Compute_Transformed_Planes (int count, const HC_PLANE *planes, const float *matrix, HC_PLANE *out_planes) |
HC_BOOLEAN | DCompute_Transformed_Planes (int count, const HC_DPLANE *planes, const float *matrix, HC_DPLANE *out_planes) |
HC_BOOLEAN Compute_Transformed_Plane | ( | const HC_PLANE * | plane, | |
const float * | matrix, | |||
HC_PLANE * | out_plane | |||
) |
Applies a user-defined transform to a single plane.
plane | - Input plane equation parameters (a,b,c,d). | |
matrix | - Input transformation matrix. | |
out_plane | - Plane equation parameters (a,b,c,d ). Returned to caller. Can point to the same place as plane. |
HC_BOOLEAN DCompute_Transformed_Plane | ( | const HC_DPLANE * | plane, | |
const double * | matrix, | |||
HC_DPLANE * | out_plane | |||
) |
Similar to Compute_Transformed_Plane(), but operates on double-precision data.
plane | - Input plane equation parameters (a, b, c, d). | |
matrix | - Input transformation matrix. | |
out_plane | - Plane equation parameters (a, b, c, d). Returned to caller. Can point to the same place as plane. |
HC_BOOLEAN Compute_Transformed_Planes | ( | int | count, | |
const HC_PLANE * | planes, | |||
const float * | matrix, | |||
HC_PLANE * | out_planes | |||
) |
Applies a user-defined transform to a group of planes.
count | - Number of plane equations in planes | |
planes | - A 4 x count array of plane equation parameters (a, b, c, d). | |
matrix | - Input transformation matrix. | |
out_planes | - Plane equation parameters (a, b, c, d). Returned to planes the caller. Can point to the same place as plane. |
HC_BOOLEAN DCompute_Transformed_Planes | ( | int | count, | |
const HC_DPLANE * | planes, | |||
const float * | matrix, | |||
HC_DPLANE * | out_planes | |||
) |
Applies a user-defined transform to a group of planes.
count | - Number of plane equations in planes | |
planes | - A 4 x count array of plane equation parameters (a,b,c,d). | |
matrix | - Input transformation matrix. | |
out_planes | - Plane equation parameters (a, b, c, d). Returned to planes the caller. Can point to the same place as plane. |