use a marginally more precise but, more importantly, easier to understand, value for METRIC_CONVERSION_CONSTANT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f11af09331
commit
97b253782a
@ -22,9 +22,9 @@
|
|||||||
#define M_PI 3.1415926535897932384626433832795
|
#define M_PI 3.1415926535897932384626433832795
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Scaling factors for various unit conversions */
|
/* Scaling factors for various unit conversions: 1 inch = 2.54 cm */
|
||||||
#ifndef METRIC_CONVERSION_CONSTANT
|
#ifndef METRIC_CONVERSION_CONSTANT
|
||||||
#define METRIC_CONVERSION_CONSTANT 0.0393700787
|
#define METRIC_CONVERSION_CONSTANT (1./254)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef mm2inches
|
#ifndef mm2inches
|
||||||
|
Loading…
Reference in New Issue
Block a user