blob: fcd889a35960fab9638ccbddbde33a28f31516fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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(_n1, -65536);
CONSTANT(_0, 0);
CONSTANT(_0_01, 655);
CONSTANT(_0_2, 13107);
CONSTANT(_0_5, 32768);
CONSTANT(_0_95, 62259);
CONSTANT(_12, 786432);
#endif
}
|