def intersect_point_quad_2d(pt, quad_p1, quad_p2, quad_p3, quad_p4):
    """Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad, only the x and y are used from the vectors. Returns 1 if the point is within the quad, otherwise 0. Works only with convex quads without singular edges.

	Parameters:
	pt (mathutils.Vector) – Point
	quad_p1 (mathutils.Vector) – First point of the quad
	quad_p2 (mathutils.Vector) – Second point of the quad
	quad_p3 (mathutils.Vector) – Third point of the quad
	quad_p4 (mathutils.Vector) – Fourth point of the quad
	
	Return type: int"""
    return 1
