Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ slerp
Function
slerp
perro_source/api_modules/perro_modules/src/math.rs:156–158 ·
view source on GitHub ↗
(start: f32, end: f32, t: f32)
Source
from the content-addressed store, hash-verified
154
155
#[inline]
156
pub fn slerp(start: f32, end: f32, t: f32) -> f32 {
157
lerp_core(start, end, smoothstep_core(0.0, 1.0, t))
158
}
159
160
#[inline]
161
pub fn islerp(start: f32, end: f32, value: f32) -> f32 {
Callers
2
math_macros_typecheck_and_forward
Function · 0.85
slerp_and_islerp_match
Function · 0.85
Calls
2
lerp_core
Function · 0.85
smoothstep_core
Function · 0.85
Tested by
2
math_macros_typecheck_and_forward
Function · 0.68
slerp_and_islerp_match
Function · 0.68