diff options
author | chai <chaifix@163.com> | 2021-12-02 12:46:50 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-02 12:46:50 +0800 |
commit | b1d4e9866de19c70174553e543e81ef4473dee6c (patch) | |
tree | fa1518ce5e6580886d8f8b4d9772474cd6f67184 /Client/Source/Phy2DLite/Constants.h | |
parent | 83fedef41f6dcea4dde010abb025b7ed647d0501 (diff) |
*number -> fixed
Diffstat (limited to 'Client/Source/Phy2DLite/Constants.h')
-rw-r--r-- | Client/Source/Phy2DLite/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Client/Source/Phy2DLite/Constants.h b/Client/Source/Phy2DLite/Constants.h index fcd889a..f116ca8 100644 --- a/Client/Source/Phy2DLite/Constants.h +++ b/Client/Source/Phy2DLite/Constants.h @@ -5,7 +5,7 @@ namespace Phy2D
{
#if NUMBER_ALIAS == NUMBER_FPM
-#define CONSTANT(name, value) static number name = number::from_raw_value(value) +#define CONSTANT(name, value) static fixed name = fixed::from_raw_value(value) CONSTANT(_1, 65536);
CONSTANT(_n1, -65536);
|