pub fn ray_rect_intersection( rect: Rect<f32>, origin: Vector2<f32>, dir: Vector2<f32>, ) -> Option<IntersectionResult>