Przeglądaj źródła

Merge pull request #7956 from sebavan/master

Add doc
sebavan 5 lat temu
rodzic
commit
01d749c5fb
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/Culling/ray.ts

+ 2 - 0
src/Culling/ray.ts

@@ -34,6 +34,7 @@ export class Ray {
     // Methods
     /**
      * Checks if the ray intersects a box
+     * This does not account for the ray lenght by design to improve perfs.
      * @param minimum bound of the box
      * @param maximum bound of the box
      * @param intersectionTreshold extra extend to be added to the box in all direction
@@ -135,6 +136,7 @@ export class Ray {
 
     /**
      * Checks if the ray intersects a box
+     * This does not account for the ray lenght by design to improve perfs.
      * @param box the bounding box to check
      * @param intersectionTreshold extra extend to be added to the BoundingBox in all direction
      * @returns if the box was hit