Skip to content
Snippets Groups Projects
Commit 2b4678d0 authored by Matti Pellika's avatar Matti Pellika
Browse files

Fix GetDP compile with Gmsh on Debian

parent 6f5abb56
No related branches found
No related tags found
No related merge requests found
......@@ -257,18 +257,18 @@ double angle_02pi(double A3)
return A3;
}
double angle_plan(double V[3], double P1[3], double P2[3], double n[3])
double angle_plan(double v[3], double p1[3], double p2[3], double n[3])
{
double PA[3], PB[3], angplan;
double cosc, sinc, c[3];
PA[0] = P1[0] - V[0];
PA[1] = P1[1] - V[1];
PA[2] = P1[2] - V[2];
PA[0] = p1[0] - v[0];
PA[1] = p1[1] - v[1];
PA[2] = p1[2] - v[2];
PB[0] = P2[0] - V[0];
PB[1] = P2[1] - V[1];
PB[2] = P2[2] - V[2];
PB[0] = p2[0] - v[0];
PB[1] = p2[1] - v[1];
PB[2] = p2[2] - v[2];
norme(PA);
norme(PB);
......
......@@ -83,7 +83,7 @@ double trace2 (double mat[3][3]);
double inv3x3(double mat[3][3], double inv[3][3]);
double inv2x2(double mat[2][2], double inv[2][2]);
double angle_02pi(double A3);
double angle_plan(double V[3], double P1[3], double P2[3], double n[3]);
double angle_plan(double v[3], double p1[3], double p2[3], double n[3]);
double triangle_area(double p0[3], double p1[3], double p2[3]);
double triangle_area2d(double p0[2], double p1[2], double p2[2]);
void circumCenterXY(double *p1, double *p2, double *p3, double *res);
......
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