Aabb3.fromRay constructor

Aabb3.fromRay(Ray ray, double limitMin, 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) =>
    new Aabb3()..setRay(ray, limitMin, limitMax);