X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=math%2Fmath.h;h=8bbcc6cff2e95f3737b2c8344afd52bf5ff55ef0;hb=000e702c884e337f27ae66b6506ff9f9b613f8a8;hp=53e2114641a55f761003750d74af9d37e41eb680;hpb=3ffe2a08e25fc091b6241885055450009267e2d8;p=physik%2Fposic.git diff --git a/math/math.h b/math/math.h index 53e2114..8bbcc6c 100644 --- a/math/math.h +++ b/math/math.h @@ -25,7 +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