Quaternion.this

Constructs the quaternion. Takes a 4-dimensional vector, where vector.x = the quaternions w coordinate, or a w coordinate of type qt and a 3-dimensional vector representing the imaginary part, or 4 values of type qt.

  1. this(qt w_, qt x_, qt y_, qt z_)
    struct Quaternion(type)
    @safe pure nothrow
    this
  2. this(qt w_, Vector!(qt, 3) vec)
  3. this(Vector!(qt, 4) vec)

Meta