lerp method

UArOrbit lerp(
  1. UArOrbit other,
  2. double t
)

Implementation

UArOrbit lerp(UArOrbit other, double t) => UArOrbit(
  yaw: yaw + (other.yaw - yaw) * t,
  pitch: pitch + (other.pitch - pitch) * t,
  distance: distance + (other.distance - distance) * t,
  target: target.lerp(other.target, t),
  fov: fov + (other.fov - fov) * t,
);