PxTriLerp#
Defined in include/foundation/PxMathUtils.h
- static inline PxReal PxTriLerp(
- const PxReal f000,
- const PxReal f100,
- const PxReal f010,
- const PxReal f110,
- const PxReal f001,
- const PxReal f101,
- const PxReal f011,
- const PxReal f111,
- const PxReal tx,
- const PxReal ty,
- const PxReal tz,
Performs trilinear interpolation.
See also
PxLerp PxBiLerp
- Parameters:
f000 – [in] The value at (0, 0, 0)
f100 – [in] The value at (1, 0, 0)
f010 – [in] The value at (0, 1, 0)
f110 – [in] The value at (1, 1, 0)
f001 – [in] The value at (0, 0, 1)
f101 – [in] The value at (1, 0, 1)
f011 – [in] The value at (0, 1, 1)
f111 – [in] The value at (1, 1, 1)
tx – [in] The interpolation parameter along the x-axis
ty – [in] The interpolation parameter along the y-axis
tz – [in] The interpolation parameter along the z-axis
- Returns:
The interpolated value