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:
Vadim Zeitlin 2007-04-30 16:25:57 +00:00
parent f11af09331
commit 97b253782a

View File

@ -22,9 +22,9 @@
#define M_PI 3.1415926535897932384626433832795
#endif
/* Scaling factors for various unit conversions */
/* Scaling factors for various unit conversions: 1 inch = 2.54 cm */
#ifndef METRIC_CONVERSION_CONSTANT
#define METRIC_CONVERSION_CONSTANT 0.0393700787
#define METRIC_CONVERSION_CONSTANT (1./254)
#endif
#ifndef mm2inches