#ifndef WX_PRECOMP
#include "wx/defs.h"
+#include "wx/math.h"
#endif
#include "wx/matrix.h"
-#include <math.h>
-static const double pi = 3.1415926535;
+static const double pi = M_PI;
wxTransformMatrix::wxTransformMatrix(void)
{
bool wxTransformMatrix::operator == (const wxTransformMatrix& mat)
{
- if (m_isIdentity==true && mat.m_isIdentity==true)
+ if (m_isIdentity && mat.m_isIdentity)
return true;
int i, j;