pub fn position_inside_rect( pos_x: i32, pos_y: i32, rect_x: i32, rect_y: i32, size_x: u32, size_y: u32, ) -> bool
Checks if the given position is inside of the given rectangle.