Functions | |
void | Compute_Transformed_Plane (const HC_PLANE *plane, const float *matrix, HC_PLANE *out_plane) |
void | Compute_Transformed_Planes (int count, const HC_PLANE *planes, const float *matrix, HC_PLANE *out_planes) |
void 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 the caller. Can point to the same place as plane. |
void 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). planes | |
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. |