ExCollision.Protocols.Collidable protocol (ExCollision v1.1.0)

View Source

Protocol for objects participating in collision checks. Requires returning AABB for intersection.

Summary

Types

t()

All the types that implement this protocol.

Functions

Returns the AABB of this object

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

aabb(collidable)

Returns the AABB of this object