Purpose
Use Build Transformation Matrix 3 to calculate a specified three-dimensional homogenous transformation matrix. The order of transformation which is all relative to the specified fixed point is: scale, rotate x, rotate y, rotate z, and shift.
If the graPHIGS API can compute the transformation matrix, then the graPHIGS API sets the error indicator to zero and returns the transformation matrix. If the graPHIGS API cannot compute the transformation matrix, then the values of the matrix are unpredictable and the graPHIGS API sets the error indicator to the following error:
Language Bindings
pbuild_tran_matrix3 (point, shift_vec, x_angle, y_angle, z_angle, scale_vec, err_ind, result_tran) |
PBLTM3 (x0, y0, z0, dx, dy, dz, phix, phiy, phiz, fx, fy, fz, errind, xfrmt) |
Errors
None
Related Subroutines