Browse Source

note in .h

Alec Jacobson 5 years ago
parent
commit
03e14c609f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      include/igl/ray_mesh_intersect.h

+ 3 - 1
include/igl/ray_mesh_intersect.h

@@ -13,7 +13,8 @@
 #include <vector>
 namespace igl
 {
-  // Shoot a ray against a mesh (V,F) and collect all hits.
+  // Shoot a ray against a mesh (V,F) and collect all hits. If you have many
+  // rays, consider using AABB.h
   //
   // Inputs:
   //   source  3-vector origin of ray
@@ -24,6 +25,7 @@ namespace igl
   //    hits  **sorted** list of hits
   // Returns true if there were any hits (hits.size() > 0)
   //
+  // See also: AABB.h
   template <
     typename Derivedsource,
     typename Deriveddir,