intersectsRay method

dynamic intersectsRay(
  1. dynamic ray
)

Performs a ray/OBB intersection test. Returns either true or false if there is a intersection or not.

Implementation

intersectsRay(ray) {
  return intersectRay(ray, v1) != null;
}