diff options
Diffstat (limited to 'src/SubPic/CoordGeom.h')
-rw-r--r-- | src/SubPic/CoordGeom.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/SubPic/CoordGeom.h b/src/SubPic/CoordGeom.h index bc20606e0..987a30d82 100644 --- a/src/SubPic/CoordGeom.h +++ b/src/SubPic/CoordGeom.h @@ -1,6 +1,6 @@ /*
* (C) 2003-2006 Gabest
- * (C) 2006-2014 see Authors.txt
+ * (C) 2006-2014, 2016 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -21,15 +21,9 @@ #pragma once
-#include <math.h>
+#include <cmath>
#include <array>
-#define EPSILON (1e-7)
-#define BIGNUMBER (1e+9)
-#define IsZero(d) (fabs(d) < EPSILON)
-#define Sgn(d) (IsZero(d) ? 0 : (d) > 0 ? 1 : -1)
-//#define SgnPow(d, p) (IsZero(d) ? 0 : (pow(fabs(d), p) * Sgn(d)))
-
class Vector
{
public:
|