Quaternion.opIndex

Indexing operation.

  1. T opIndex(size_t i)
  2. T opIndex(size_t i)
    struct Quaternion(T)
    ref
    T
    opIndex
    (
    size_t i
    )
    if (
    __traits(isArithmetic, T)
    )

Return Value

Type: T

i-th element of this quaternion

Meta