Aabb3.fromRay constructor

Aabb3.fromRay(
  1. Ray ray,
  2. double limitMin,
  3. double limitMax
)

Create a new AABB that encloses a limited ray (or line segment) that has a minLimit and maxLimit.

Implementation

factory Aabb3.fromRay(Ray ray, double limitMin, double limitMax) =>
    Aabb3()..setRay(ray, limitMin, limitMax);