Skip to content
Snippets Groups Projects
Commit a9d72b97 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MaL] Remove unused crossProd() function.

parent f9c2320e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment