Matrix.opCast

Convert 3x3 rotation matrix to quaternion.

  1. U opCast()
  2. U opCast()
    struct Matrix(T, int R, int C)
    @nogc pure const nothrow
    U
    opCast
    (
    U
    )
    ()
    if (
    is(typeof(U._isQuaternion)) &&
    is(U._T : _T)
    &&
    (_R == 3)
    &&
    (_C == 3)
    )
  3. U opCast()

See Also

3D Math Primer for Graphics and Game Development.

Meta