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

Function smoothstep

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

Source from the content-addressed store, hash-verified

149
150#[inline]
151pub fn smoothstep(edge0: f32, edge1: f32, value: f32) -> f32 {
152 smoothstep_core(edge0, edge1, value)
153}
154
155#[inline]
156pub fn slerp(start: f32, end: f32, t: f32) -> f32 {

Calls 1

smoothstep_coreFunction · 0.85