relativeVectorToInverse

Gets a relative vector between 2 matrices, with the multiplication-order of the left-hand and right-hand side inverted.

@nogc pure
vec3
relativeVectorToInverse
(
mat4 lhs
,
mat4 rhs
)

Parameters

lhs mat4

The left hand side matrix.

rhs mat4

The right hand side matrix.

Return Value

Type: vec3

A vector describing the relative translation between the 2 matrices.

Meta