From a9d72b97fd93626975c9ff882fc2d39f714f9ad4 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Mon, 6 Jun 2016 08:13:15 +0200
Subject: [PATCH] [MaL] Remove unused crossProd() function.

---
 MathLib/MathTools.cpp | 6 ------
 MathLib/MathTools.h   | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/MathLib/MathTools.cpp b/MathLib/MathTools.cpp
index 03e2b107884..d3d24bdcee5 100644
--- a/MathLib/MathTools.cpp
+++ b/MathLib/MathTools.cpp
@@ -14,12 +14,6 @@
 
 namespace MathLib
 {
-void crossProd(const double u[3], const double v[3], double r[3])
-{
-    r[0] = u[1] * v[2] - u[2] * v[1];
-    r[1] = u[2] * v[0] - u[0] * v[2];
-    r[2] = u[0] * v[1] - u[1] * v[0];
-}
 
 double calcProjPntToLineAndDists(const double p[3], const double a[3],
         const double b[3], double &lambda, double &d0)
diff --git a/MathLib/MathTools.h b/MathLib/MathTools.h
index be8256cba9f..81f1fad0116 100644
--- a/MathLib/MathTools.h
+++ b/MathLib/MathTools.h
@@ -76,12 +76,6 @@ T scalarProduct(T const * const v0, T const * const v1, unsigned n)
     return res;
 }
 
-/**
- * computes the cross (or vector) product of the 3d vectors u and v
- * the result is given in the vector r
- */
-void crossProd (const double u[3], const double v[3], double r[3]);
-
 /**
  * calcProjPntToLineAndDists computes the orthogonal projection
  * of a point p to the line described by the points a and b,
-- 
GitLab