warp.quat_from_matrix#
- warp.quat_from_matrix(
- mat: Matrix[Literal[3], Literal[3], Float],
Kernel
Differentiable
Construct a quaternion from a matrix.
If the matrix is not a pure rotation, but for example includes scaling or skewing, the result is undefined.
- warp.quat_from_matrix(
- mat: Matrix[Literal[4], Literal[4], Float],
Kernel
Differentiable
Construct a quaternion from a matrix.
If the top-left 3x3 block of the matrix is not a pure rotation, but for example includes scaling or skewing, the result is undefined.