Documentation ¶
Overview ¶
Package collision will take 2 image.Image and determine if any of their active pixes are colliding.
This handles offsets for if the pixels are on a Cartesian coordinate system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsColliding ¶
IsColliding checks if 2 hitboxs are colliding
func IsCollidingMultiple ¶
IsCollidingMultiple checks if multiple hitboxes are colliding with the first
Types ¶
Click to show internal directories.
Click to hide internal directories.