ref: 4d90db49e2d2c46234b951f64fc73e412ca85e5a dir: /dotproduct.c/
float DotProduct(float v1[3], float v2[3]) { return v1[0]*v2[0] + v1[1]*v2[1] + v1[2]*v2[2]; }