SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 20:01:58 -05:00
committed by Peter Johnson
parent ae6bdc9d25
commit 2109161534
749 changed files with 5504 additions and 3936 deletions

View File

@@ -1037,7 +1037,8 @@ void AssertIndexColor(std::span<AddressableLED::LEDData> data, int index,
}
Color LerpColors(Color a, Color b, double t) {
return Color{wpi::util::Lerp(a.red, b.red, t), wpi::util::Lerp(a.green, b.green, t),
return Color{wpi::util::Lerp(a.red, b.red, t),
wpi::util::Lerp(a.green, b.green, t),
wpi::util::Lerp(a.blue, b.blue, t)};
}
} // namespace wpi