mirror of https://git.suyu.dev/suyu/suyu
common/math_util: Remove unnecessary static from PI
const/constexpr variables have internal linkage by default.
This commit is contained in:
parent
74fd0aa2e8
commit
cc0801745a
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
namespace MathUtil {
|
namespace MathUtil {
|
||||||
|
|
||||||
static constexpr float PI = 3.14159265f;
|
constexpr float PI = 3.14159265f;
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
struct Rectangle {
|
struct Rectangle {
|
||||||
|
|
Loading…
Reference in New Issue