new SAT()
Methods
-
intersects(polyhedronA, polyhedronB) → {Boolean}
-
Returns true if the given convex polyhedra intersect. A polyhedron is just an array of Polygon objects.
Parameters:
Name Type Description polyhedronA
Polyhedron The first convex polyhedron.
polyhedronB
Polyhedron The second convex polyhedron.
Returns:
Boolean -Whether there is an intersection or not.