trn(vector) ⇒ object

Returns a Homogeneous transformation matrix that represents the displacement of a vector.

Kind: global function
Returns: object - 4x4 math.js matrix.

Param Type Description
vector object 3x1 math.js matrix representing the displacement vector.