warp.quat_from_matrix#
- warp.quat_from_matrix(
- mat: Matrix[Float, Literal[3], Literal[3]],
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[Float, Literal[4], Literal[4]],
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.