TransformHomogeneous transforms the point by the matrix, and divide by the W component. The w is a 4th dimension that is necessary so that 3D matrix multiplication can be used on a 3D point.
Parameters |
Description |
Point3<T>* result |
The result of the transformation by the matrix. |
const Point3<T>& p |
Reference to the three-dimensional point which is to be transformed. |
A Point3 value containing the transformation result.