cross.h 368 B

12345678910111213141516171819202122
  1. #ifndef IGL_CROSS_H
  2. #define IGL_CROSS_H
  3. #include "igl_inline.h"
  4. namespace igl
  5. {
  6. // Computes out = cross(a,b)
  7. // Inputs:
  8. // a left 3d vector
  9. // b right 3d vector
  10. // Outputs:
  11. // out result 3d vector
  12. IGL_INLINE void cross(
  13. const double *a,
  14. const double *b,
  15. double *out);
  16. }
  17. #ifdef IGL_HEADER_ONLY
  18. # include "cross.cpp"
  19. #endif
  20. #endif