aboutsummaryrefslogtreecommitdiff
path: root/src/common/vector_math.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-09-24 01:21:07 -0400
committerameerj <52414509+ameerj@users.noreply.github.com>2021-09-24 15:52:05 -0400
commitd7977be416b2b66d12df39b4698ddd231aee14bb (patch)
tree31ecba073091bae2a424f3d0b6215591408edca3 /src/common/vector_math.h
parent6b71ba79c148f63ee9e2438e20be7eae6b4ae4bf (diff)
general: Update style to clang-format-12
Diffstat (limited to 'src/common/vector_math.h')
-rw-r--r--src/common/vector_math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/vector_math.h b/src/common/vector_math.h
index 22dba3c2d2..ba7c363c1d 100644
--- a/src/common/vector_math.h
+++ b/src/common/vector_math.h
@@ -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;
}