matx4 (<point>,<matrix>)
point
The result of a 3-D point transformed by a 4 x 4 matrix. The three-element point is given a fourth element with value one for multiplication purposes, and is then discarded after the operation.
<point>
The point to be
multiplied.
<matrix>
The matrix; one
six-element numeric array with values in row order.
Translates a point and rotates it through 45 degrees.
numeric mat[] = <0.707107, 0.707107, 0, 0, \ -0.707107, 0.707107, 0, 0, \ 0, 0, 1, 0, \ 50, 50, 0, 1> point p1 = matx4(p2,mat)
Functions: |