general: Update style to clang-format-12

This commit is contained in:
ameerj 2021-09-24 01:21:07 -04:00
parent 31c0f6ca33
commit 73666fb262
13 changed files with 62 additions and 66 deletions

View file

@ -667,8 +667,8 @@ template <typename T>
// linear interpolation via float: 0.0=begin, 1.0=end
template <typename X>
[[nodiscard]] constexpr decltype(X{} * float{} + X{} * float{}) Lerp(const X& begin, const X& end,
const float t) {
[[nodiscard]] constexpr decltype(X{} * float{} + X{} * float{})
Lerp(const X& begin, const X& end, const float t) {
return begin * (1.f - t) + end * t;
}