Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ smoothstep01_core
Function
smoothstep01_core
perro_source/api_modules/perro_modules/src/math.rs:103–105 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
101
102
#[inline]
103
fn smoothstep01_core<T: FloatScalar>(value: T) -> T {
104
value * value * (T::THREE - T::TWO * value)
105
}
106
107
#[inline]
108
fn smoothstep_core<T: FloatScalar>(edge0: T, edge1: T, value: T) -> T {
Callers
1
smoothstep_core
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected