Function: matx3

Syntax

matx3 (<point>,<matrix>)

Type

point

Returns

The result of a 3-D point transformed by a 3 x 3 matrix.

Parameters

Examples

Rotates a point through 45 degrees.

numeric mat[] = <0.707107, 0.707107, 0, \ 
    -0.707107, 0.707107, 0, \ 
    0, 0, 1>
point p1 = matx3(p2,mat)

See Also

Functions:

matx2 (numeric), matx4 (numeric)