diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-04-15 03:25:15 -0400 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-04-15 03:25:38 -0400 |
| commit | 5e0c20f8a53d587e4fcacfd202627eadd3a12472 (patch) | |
| tree | 154bcc3f1e607c842ca0a09e46f80f6d7cf6441e /Source/Core/Common/MathUtil.cpp | |
| parent | e9dbb93cb56bb48666295c211364f47857cfdaa3 (diff) | |
Common/MathUtil: Remove MathFloatVectorSum()
This isn't used anywhere and not really a generic utility, so we can get
rid of it.
This also lets us remove MathUtil.cpp, since this was the only thing
within that file.
Diffstat (limited to 'Source/Core/Common/MathUtil.cpp')
| -rw-r--r-- | Source/Core/Common/MathUtil.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/Core/Common/MathUtil.cpp b/Source/Core/Common/MathUtil.cpp deleted file mode 100644 index 23034aeb14..0000000000 --- a/Source/Core/Common/MathUtil.cpp +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2008 Dolphin Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "Common/MathUtil.h" - -#include <numeric> - -// Calculate sum of a float list -float MathFloatVectorSum(const std::vector<float>& Vec) -{ - return std::accumulate(Vec.begin(), Vec.end(), 0.0f); -} |
