lerp#
Fully qualified name: isaacsim::core::includes::math::lerp
- inline carb::Float3 isaacsim::core::includes::math::lerp(
- const carb::Float3 &start,
- const carb::Float3 &end,
- const float t,
Linearly interpolates between two 3D vectors.
Performs linear interpolation between start and end vectors. The parameter t controls the interpolation: 0 returns start, 1 returns end.
Note
For values of t outside [0,1], extrapolation is performed
- Parameters:
start – [in] Starting vector
end – [in] Ending vector
t – [in] Interpolation parameter [0,1]
- Returns:
carb::Float3 The interpolated vector