Skip to main content

check_collision_point_poly

Function check_collision_point_poly 

Source
pub fn check_collision_point_poly(point: Vector2, points: &[Vector2]) -> bool
Expand description

Check if point is within a polygon described by array of vertices