def F32.lerp.one

Base · base.bend:1863

import Base
1863def F32.lerp.one(a: F32, b: F32, +t: F32, one: Bool) -> F32:
1864  match one:
1865    case True{}:
1866      b
1867    case False{}:
1868      F32.add(F32.mul(a, F32.sub(1.0, t)), F32.mul(b, t))

Uses (5)

Used by (1)