(p0, p1, t)
return (1.0 - t) * p0 + t * p1
Linear interpolation.
Linear interpolation.
Linear interpolation .
def lerp(p0, p1, t):
  """Linear interpolation."""
  return (1.0 - t) * p0 + t * p1
def lerp ( p0 , p1 , t ) : return ( 1.0 - t ) * p0 + t * p1