Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
151
pub fn smoothstep(edge0: f32, edge1: f32, value: f32) -> f32 {
152
smoothstep_core(edge0, edge1, value)
153
}
154
155
#[inline]
156
pub fn slerp(start: f32, end: f32, t: f32) -> f32 {
Callers
3
math_macros_typecheck_and_forward
Function · 0.50
smoothstep_and_ismoothstep_match
Function · 0.50
smoothstep_clamps_and_smooths
Function · 0.50
Calls
1
smoothstep_core
Function · 0.85
Tested by
3
math_macros_typecheck_and_forward
Function · 0.40
smoothstep_and_ismoothstep_match
Function · 0.40
smoothstep_clamps_and_smooths
Function · 0.40