Eagle plugin: changed #define to constexpr

This commit is contained in:
Maciej Suminski 2017-06-19 15:38:48 +02:00
parent 7d2320b5ad
commit c72b2155a6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
// Eagle schematic internal units are millimeters
// Kicad schematic units are thousandths of an inch
#define EUNIT_TO_MIL 1000.0/25.4
constexpr double EUNIT_TO_MIL = 1000.0 / 25.4;
// Eagle schematic axes are aligned with x increasing left to right and Y increasing bottom to top
// Kicad schematic axes are algigned with x increasing left to rigth and Y increasing top to bottom.