dot.cpp 185 B

123456789
  1. #include "dot.h"
  2. // http://www.antisphere.com/Wiki/tools:anttweakbar
  3. IGL_INLINE double igl::dot(
  4. const double *a,
  5. const double *b)
  6. {
  7. return a[0]*b[0] + a[1]*b[1] + a[2]*b[2];
  8. }