Quaternion.opOpAssign

Operator assign for quaternion. This function supports "+" or "-" operation.

  1. Quaternion opOpAssign(Quaternion!S q)
    struct Quaternion(T)
    opOpAssign
    (
    string op
    S
    )
    if (
    op == "+" ||
    op == "-"
    )
    if (
    __traits(isArithmetic, T)
    )
  2. Quaternion opOpAssign(Quaternion!(S) q)
  3. Quaternion opOpAssign(S e)

Parameters

q Quaternion!S

target quaternion

Meta