Quaternion.opBinary

Defines Hamilton product for Quaternions

  1. Quaternion opBinary(Quaternion rhs)
  2. Quaternion opBinary(T rhs)
  3. Quaternion opBinary(Quaternion rhs)
    struct Quaternion(T = floatt)
    nothrow @nogc pure const
    opBinary
    (
    string op
    )
    (
    auto ref const Quaternion rhs
    )
    if (
    op == "*"
    )
    if (
    __traits(isFloating, T)
    )

Parameters

rhs Quaternion

Quaternion at rigth of operation Return: Quaternion result of hamilton product of <strong>this</strong> and rhs (this rhs)

Meta