PxBiLerp#

Defined in include/foundation/PxMathUtils.h

static inline PxReal PxBiLerp(
const PxReal f00,
const PxReal f10,
const PxReal f01,
const PxReal f11,
const PxReal tx,
const PxReal ty,
)#

Performs bilinear interpolation.

See also

PxLerp

Parameters:
  • f00[in] The value at (0, 0)

  • f10[in] The value at (1, 0)

  • f01[in] The value at (0, 1)

  • f11[in] The value at (1, 1)

  • tx[in] The interpolation parameter along the x-axis

  • ty[in] The interpolation parameter along the y-axis

Returns:

The interpolated value