transform_vector

Function transform_vector 

Source
pub fn transform_vector(m: &M4, v: V3) -> V3
Expand description

The linear part of m applied to v (no translation).

On a column-major array this computes Mᵀ·v: the ROWS of the row-major reading are the COLUMNS of the matrix. That identity is how the site-local frame applies an inverse rotation with the same op order.