Alec Jacobson 5 лет назад
Родитель
Сommit
03e14c609f
1 измененных файлов с 3 добавлено и 1 удалено
  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,