Quaternion.this

Build a new Quaternion from a array If no there values for j, and k, will be set to 0. w is set to 1

  1. this(T i, T j, T k, T w)
  2. this(T[] xs)
    struct Quaternion(T = floatt)
    nothrow
    this
    (
    in T[] xs
    )
    if (
    __traits(isFloating, T)
    )
  3. this(Vector!(T, 3) vec)
  4. this(Vector!(T, 4) vec)
  5. this(Vector!(T, 3) v, U angle)
  6. this(U roll, U pitch, U yaw)

Parameters

xs T[]

Array with coords

Meta