Quaternion.opCast

Convert to a 3x3 rotation matrix. TODO: check out why we can't do is(Unqual!U == mat3!T)

  1. U opCast()
    struct Quaternion(T)
    @nogc pure const nothrow
    U
    opCast
    (
    U
    )
    ()
    if (
    is(typeof(U._isMatrix)) &&
    is(U._T : _T)
    &&
    (U._R == 3)
    &&
    (U._C == 3)
    )
  2. U opCast()

Meta