Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ lerp_core
Function
lerp_core
perro_source/api_modules/perro_modules/src/math.rs:88–90 ·
view source on GitHub ↗
(start: T, end: T, t: T)
Source
from the content-addressed store, hash-verified
86
87
#[inline]
88
fn lerp_core<T: FloatScalar>(start: T, end: T, t: T) -> T {
89
start + (end - start) * t
90
}
91
92
#[inline]
93
fn ilerp_core<T: FloatScalar>(start: T, end: T, value: T) -> T {
Callers
4
lerp
Function · 0.85
remap
Function · 0.85
slerp
Function · 0.85
damp
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected