intersectsWithQuad method

bool intersectsWithQuad (Quad other, { IntersectionResult result })

Return if this intersects with other

Implementation

bool intersectsWithQuad(Quad other, {IntersectionResult result}) {
  other.copyTriangles(_quadTriangle0, _quadTriangle1);

  return intersectsWithTriangle(_quadTriangle0, result: result) ||
      intersectsWithTriangle(_quadTriangle1, result: result);
}