(a: f32, b: f32, t: f32)
| 370 | } |
| 371 | |
| 372 | fn lerp(a: f32, b: f32, t: f32) -> f32 { |
| 373 | a + (b - a) * t |
| 374 | } |
| 375 | |
| 376 | /// Shared bilinear coord computation so every texture sampler does |
| 377 | /// the same wrapping and interpolation math. |
no outgoing calls
no test coverage detected