...

/

Midpoint and Linear Interpolation

Midpoint and Linear Interpolation

Understand the use of 'std::midpoint' and 'std::lerp' with an example.

We'll cover the following...
  • std::midpoint(a, b): calculates the midpoint (a+(b−a)/2)(a + (b - a) / 2)
...