diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-07-07 20:13:33 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-07-07 20:13:33 +0200 |
| commit | 7b750bf5bb6f8bdd1991c45ea509f93a9c151e04 (patch) | |
| tree | e7b07511c9c02ea3a21f1d952fa0e007f18cac95 /src/common/math_util.h | |
| parent | 94e9c2bd74e30c6154dd453ff5608df3688b3f24 (diff) | |
[hid_core, input_common] use std::numbers::pi{_v} instead of re-defining (#4160)
don't reinvent the wheel, simple as that.
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4160
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Diffstat (limited to 'src/common/math_util.h')
| -rw-r--r-- | src/common/math_util.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/math_util.h b/src/common/math_util.h index 967d755f53..0f100b270c 100644 --- a/src/common/math_util.h +++ b/src/common/math_util.h @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2013 Dolphin Emulator Project @@ -13,8 +13,6 @@ namespace Common { -constexpr float PI = 3.1415926535f; - template <class T> struct Rectangle { T left{}; |
