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