Return an identity transform matrix

pwu::Transform identity

Set an element of a transform matrix

pwu::Transform set matrix i j value

Get an element of a transform matrix

pwu::Transform element matrix i j

Transform a vector point matrix by the given transform matrix

pwu::Transform apply matrix vec

Multiply one transform matrix by another

pwu::Transform multiply matrix1 matrix2

Return the determinant of a given transform matrix

pwu::Transform determinant matrix

Return the transpose of a given transform matrix

pwu::Transform transpose matrix

Return the inverse of a given transform matrix

pwu::Transform inverse matrix

Multiply the given transform matrix by a translation transform

pwu::Transform translate matrix offset

Return a transform matrix that is a translation of the given offset

pwu::Transform translation offset

Multiply the given transform matrix by a rotation transform

pwu::Transform rotate ?-anchor anchor_pt? matrix axis angle

Return a transform matrix that is a rotation of the given quaternion, axis angle pair, or pair of vectors representing the new X and Y directions.

pwu::Transform rotation ?-anchor anchor_pt? < quat | axis angle | right up >

Multiply the given transform matrix by a scaling transform

pwu::Transform scale ?-anchor anchor_pt? matrix scale

Return a transform matrix that is a scaling of the given vector

pwu::Transform scaling ?-anchor anchor_pt? scale_vec

Create an orthonormal view transform matrix from a view frustum

pwu::Transform ortho left right bottom top near far

Create a perspective view transform matrix from a view frustum

pwu::Transform perspective left right bottom top near far

Multiply the given transform matrix by a mirroring transform

pwu::Transform mirror matrix normal dist

Return a transform matrix that is a mirroring of the given plane

pwu::Transform mirroring normal dist

Return a transform matrix that is a mirroring of the given plane

pwu::Transform mirrorPlane plane

Multiply the given transform matrix by a stretching transform.

pwu::Transform stretch matrix anchor start end

Return a transform matrix that is a stretching transform.

pwu::Transform stretching anchor start end