dot.h 332 B

1234567891011121314151617181920
  1. #ifndef IGL_DOT_H
  2. #define IGL_DOT_H
  3. #include "igl_inline.h"
  4. namespace igl
  5. {
  6. // Computes out = dot(a,b)
  7. // Inputs:
  8. // a left 3d vector
  9. // b right 3d vector
  10. // Returns scalar dot product
  11. IGL_INLINE double dot(
  12. const double *a,
  13. const double *b);
  14. }
  15. #ifdef IGL_HEADER_ONLY
  16. # include "dot.cpp"
  17. #endif
  18. #endif