diff options
Diffstat (limited to 'Client/Source/Phy2DLite/Constants.h')
-rw-r--r-- | Client/Source/Phy2DLite/Constants.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Client/Source/Phy2DLite/Constants.h b/Client/Source/Phy2DLite/Constants.h new file mode 100644 index 0000000..aa50e8c --- /dev/null +++ b/Client/Source/Phy2DLite/Constants.h @@ -0,0 +1,19 @@ +#pragma once
+
+#include "Settings.h"
+
+namespace Phy2D
+{
+#if NUMBER_ALIAS == NUMBER_FPM
+#define CONSTANT(name, value) static number name = number::from_raw_value(value) +
+ CONSTANT(_1, 65536);
+ CONSTANT(_0, 0);
+ CONSTANT(_0_01, 655);
+ CONSTANT(_0_2, 13107);
+ CONSTANT(_0_5, 32768);
+ CONSTANT(_0_95, 62259);
+ CONSTANT(_12, 786432);
+
+#endif
+}
\ No newline at end of file |