Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ lerp
Function
lerp
perro_source/api_modules/perro_modules/src/math.rs:135–137 ·
view source on GitHub ↗
(start: f32, end: f32, t: f32)
Source
from the content-addressed store, hash-verified
133
134
#[inline]
135
pub fn lerp(start: f32, end: f32, t: f32) -> f32 {
136
lerp_core(start, end, t)
137
}
138
139
#[inline]
140
pub fn ilerp(start: f32, end: f32, value: f32) -> f32 {
Callers
3
resolve_sample
Function · 0.85
math_macros_typecheck_and_forward
Function · 0.85
lerp_and_ilerp_match
Function · 0.85
Calls
1
lerp_core
Function · 0.85
Tested by
2
math_macros_typecheck_and_forward
Function · 0.68
lerp_and_ilerp_match
Function · 0.68