PxLerp#

Defined in include/foundation/PxMathUtils.h

static inline float PxLerp(float a, float b, float t)#

Performs linear interpolation between two values.

Parameters:
  • a[in] The start value

  • b[in] The end value

  • t[in] The interpolation parameter in the range [0, 1]

Returns:

The interpolated value