math docs
    Preparing search index...

    Function setReal

    • Set the real component of a dual quat to the given quaternion

      Parameters

      • out: quat2.Quat2

        the receiving dual quaternion

      • q: readonly [number, number, number, number]

        a quaternion representing the real part

      Returns quat2.Quat2

      out