diff --git a/MathLib/MathTools.cpp b/MathLib/MathTools.cpp index 03e2b10788410c8e2bfa1a628c2de0a17434a40d..d3d24bdcee51e257138bb84a68bf6750ee1f1384 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 be8256cba9fe81c2e1e8b50be512f207e9a09cec..81f1fad011656ef37d106cf515fe5b4c6960c99c 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,