HC_Compute_Transformed_Planes

bool HC_Compute_Transformed_Planes(int count, Plane const planes[], float const matrix[], Plane out_planes[])
bool HC_Compute_Transformed_Planes(int count, Plane const planes, float const matrix, Plane out_planes)

Applies a user-defined transform to a group of planes.

HC_Compute_Transformed_Plane()

Parameters

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.

Returns

True if the calculation was a success