(start: f32, end: f32, value: f32)
| 159 | |
| 160 | #[inline] |
| 161 | pub fn islerp(start: f32, end: f32, value: f32) -> f32 { |
| 162 | let smooth_t = clamp01_core(ilerp_core(start, end, value)); |
| 163 | ismoothstep(0.0, 1.0, smooth_t) |
| 164 | } |
| 165 | |
| 166 | #[inline] |
| 167 | pub fn ismoothstep(edge0: f32, edge1: f32, value: f32) -> f32 { |