X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=math%2Fmath.h;h=8bbcc6cff2e95f3737b2c8344afd52bf5ff55ef0;hb=000e702c884e337f27ae66b6506ff9f9b613f8a8;hp=df8f6af28c785cc418a9efa1e86e199026bc0233;hpb=710717c4033bc5b8eb34644914e762a2834ae345;p=physik%2Fposic.git diff --git a/math/math.h b/math/math.h index df8f6af..8bbcc6c 100644 --- a/math/math.h +++ b/math/math.h @@ -25,5 +25,9 @@ int v3_zero(t_3dvec *vec); int v3_set(t_3dvec *vec,double *ptr); int v3_copy(t_3dvec *trg,t_3dvec *src); int v3_cmp(t_3dvec *a,t_3dvec *b); +double v3_scalar_product(t_3dvec *a,t_3dvec *b); +double v3_absolute_square(t_3dvec *a); +double v3_norm(t_3dvec *a); +int v3_per_bound(t_3dvec *a,t_3dvec *dim); #endif