computeTransformation

Computes a transformation matrix from an oriented bounding box.

Return

The modified result parameter or a new Matrix4 instance if none was provided.

Parameters

box

The oriented bounding box.

result

The object onto which to store the result.

See also