MCPcopy Create free account
hub / github.com/PerroEngine/Perro / lerp_core

Function lerp_core

perro_source/api_modules/perro_modules/src/math.rs:88–90  ·  view source on GitHub ↗
(start: T, end: T, t: T)

Source from the content-addressed store, hash-verified

86
87#[inline]
88fn lerp_core<T: FloatScalar>(start: T, end: T, t: T) -> T {
89 start + (end - start) * t
90}
91
92#[inline]
93fn ilerp_core<T: FloatScalar>(start: T, end: T, value: T) -> T {

Callers 4

lerpFunction · 0.85
remapFunction · 0.85
slerpFunction · 0.85
dampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected