lerp method

Q lerp(
  1. Q o,
  2. double amount
)

Implementation

Q lerp(Q o, double amount) => _q(
  x + amount*(o.x - x),
  y + amount*(o.y - y),
  z + amount*(o.z - z),
  w + amount*(o.w - w),
);