why does pyrr.Matrix44 translation appear to be column-major, and rotation row-major?
问题 consider the following: >>>Matrix44.from_translation( np.array([1,2,3])) Matrix44([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [1, 2, 3, 1]]) >>> Matrix44.from_x_rotation(0.5 * np.pi) Matrix44([[ 1.0, 0.0, 0.0, 0.0], [ 0.0, 0.0, -1.0, 0.0], [ 0.0, 1.0, 0.0, 0.0], [ 0.0, 0.0, 0.0, 1.0]]) The translation matrix shows that the layout of the matrix is column-major, but the rotation matrix, confusingly, suggests that it is row-major, if you consider that the standard right-hand 3x3 rotation matrix