Functions

vecked.inverse_lerp(a: float, b: float, v: float) float[source]

Gets the normalised distance of v from a in the direction of b.

vecked.lerp(a: float, b: float, t: float) float[source]

Gets the value t distance from a in the direction of b.