Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

from_mat3

Creates a quaternion from a 3x3 rotation matrix. Note if the input matrix contain scales, shears, or other non-rotation transformations then the resulting quaternion will be ill-defined.

Panics

Will panic if any input matrix column is not normalized when glam_assert is enabled.

Arguments

NameTypeDocumentation
matMat3No Documentation 🚧

Returns

NameTypeDocumentation
arg0QuatNo Documentation 🚧