MCPcopy Create free account
hub / github.com/Kethku/Pando / mix

Method mix

aspen/src/util.rs:43–45  ·  view source on GitHub ↗
(&self, other: &Self, factor: f64)

Source from the content-addressed store, hash-verified

41 }
42
43 fn mix(&self, other: &Self, factor: f64) -> Self {
44 self.lerp(*other, (factor as f32).clamp(0., 1.), HueDirection::Shorter)
45 }
46}
47
48impl Mixable for Rect {

Callers 2

new_dotgridMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected