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

Function ilerp

perro_source/api_modules/perro_modules/src/math.rs:140–142  ·  view source on GitHub ↗
(start: f32, end: f32, value: f32)

Source from the content-addressed store, hash-verified

138
139#[inline]
140pub fn ilerp(start: f32, end: f32, value: f32) -> f32 {
141 ilerp_core(start, end, value)
142}
143
144#[inline]
145pub fn remap(in_min: f32, in_max: f32, out_min: f32, out_max: f32, value: f32) -> f32 {

Callers 2

lerp_and_ilerp_matchFunction · 0.85

Calls 1

ilerp_coreFunction · 0.85

Tested by 2

lerp_and_ilerp_matchFunction · 0.68