diff options
| author | JosJuice <josjuice@gmail.com> | 2023-04-18 18:05:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-18 18:05:12 +0200 |
| commit | 969318ff66e4b86d9d34bd123174a52c0328c0fa (patch) | |
| tree | 408ff0a5a7b22489bc195cd194206cddc39038c6 /Source/Core/Common/MathUtil.cpp | |
| parent | 1a2dcc53f2d7a85b0d49e9d2b12d819a2f57b835 (diff) | |
| parent | 784a21692763296cbd93f59c4cf8a58c902b81e8 (diff) | |
Merge pull request #11761 from lioncash/mathrev
Common/MathUtil: Move remaining utilities into MathUtil namespace
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); -} |
