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

Function ismoothstep

perro_source/api_modules/perro_modules/src/math.rs:167–170  ·  view source on GitHub ↗
(edge0: f32, edge1: f32, value: f32)

Source from the content-addressed store, hash-verified

165
166#[inline]
167pub fn ismoothstep(edge0: f32, edge1: f32, value: f32) -> f32 {
168 let t = clamp01_core(ilerp_core(edge0, edge1, value));
169 ismoothstep01_core(t)
170}
171
172#[inline]
173pub fn angle_diff_rad(from: f32, to: f32) -> f32 {

Callers 3

islerpFunction · 0.85

Calls 3

clamp01_coreFunction · 0.85
ilerp_coreFunction · 0.85
ismoothstep01_coreFunction · 0.85