Collision functions in NTT
Finds the closest instance going from xy1 to xy2, as per blog post.
However, this either populates or returns a new struct
with x
, y
, and inst
variables.
Source: collision_line_point
Similar to above, but includes width.
Source: collision_line_width_first