X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e32eea148dafadbdd0712377c1b5038406ffde5..169d1d643c0ee0c90fa8e393b5298606bbb68cfd:/src/common/matrix.cpp?ds=sidebyside diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 2d1b787eda..d324a852dd 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -1,3 +1,4 @@ +/////////////////////////////////////////////////////////////////////////////// // Name: matrix.cpp // Purpose: wxTransformMatrix class // Author: Chris Breeze, Julian Smart @@ -6,7 +7,7 @@ // RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "matrix.h" @@ -24,12 +25,12 @@ #ifndef WX_PRECOMP #include "wx/defs.h" +#include "wx/math.h" #endif #include "wx/matrix.h" -#include -static const double pi = 3.1415926535; +static const double pi = M_PI; wxTransformMatrix::wxTransformMatrix(void) {