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

Function lerp

perro_source/api_modules/perro_modules/src/math.rs:135–137  ·  view source on GitHub ↗
(start: f32, end: f32, t: f32)

Source from the content-addressed store, hash-verified

133
134#[inline]
135pub fn lerp(start: f32, end: f32, t: f32) -> f32 {
136 lerp_core(start, end, t)
137}
138
139#[inline]
140pub fn ilerp(start: f32, end: f32, value: f32) -> f32 {

Callers 3

resolve_sampleFunction · 0.85
lerp_and_ilerp_matchFunction · 0.85

Calls 1

lerp_coreFunction · 0.85

Tested by 2

lerp_and_ilerp_matchFunction · 0.68