fromQuaternion static method

Creates a Vector4Base from the raw XYZW components of q.

Implementation

static Vector4Base fromQuaternion(QuaternionBase q) => createFactory(
  q.x,
  q.y,
  q.z,
  q.w,
);