lerp method

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

Implementation

Vector3C lerp(Vector3C o, double amount) => set(
  x + amount*(o.x - x),
  y + amount*(o.y - y),
  z + amount*(o.z - z),
);