Functions
The following functions are available globally.
-
Declaration
Swift
public func collision(_ a: CollisionDetectable, _ b: CollisionDetectable) -> Bool
Return Value
true
if any convex polygons of oneCollisionDetectable
-conforming type intersect with another. Otherwise,false
.