A function to check the intersection of two shapes. It does not give an intersection point, it gives a state that informs if there is an intersection.
First shape.
Second shape.
Position first shape.
Position second shape.
Gives a state indicating if there is an intersection.
isCollide(Shape.Rectangle(vecf(32,32),vecf(48,48)), Shape.Line(vecf(48,32),vecf(32,48)));
See Implementation
A function to check the intersection of two shapes. It does not give an intersection point, it gives a state that informs if there is an intersection.