AlignZAxisWithTargetDirMatrix

Builds a matrix from two vectors.

Inputs

Inputs
Name Type Default Description
target VectorPort V3d(0, 0, 0) target vector
up VectorPort V3d(0, 1, 0) Up vector

Outputs

Outputs
Name Type Default Description
out MatrixPort M44d((1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1)) Output matrix