This module provides a convenient method to check whether the given
with another object, in O(n) where n is the number of faces in the
library could be useful for a project that don't need full-featured physics library but
want to do some hit-test.
Following objects are supported:
Please feel free to make pull requests, if you feel you can make this library better!
const three = ;const intersects = intersects;// objectsconst geometry = 1 1 1;const box3 =05 05 0515 15 15;// do hit-test. array returned.const results = ;// indexes of faces intersecting with the box are printed to the consolefor const result of resultsconsole;