Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

lerp

float Lerp(float A, float B, float t) {
	return A + (B - A) * t; 
}

//single line version:
float Lerp(float A, float B, float t) {return A + (B - A) * t;}
 
PREVIOUS NEXT
Tagged: #lerp
ADD COMMENT
Topic
Name
8+8 =