Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

lerp function c

// Computes the linear interpolation between a and b for the parameter t
// a + t(b - a)
constexpr float lerp(float a, float b, float t) noexcept;
 
PREVIOUS NEXT
Tagged: #lerp #function
ADD COMMENT
Topic
Name
4+5 =