Function fyrox_math::ray_rect_intersection
source ยท pub fn ray_rect_intersection(
rect: Rect<f32>,
origin: Vector2<f32>,
dir: Vector2<f32>
) -> Option<IntersectionResult>
pub fn ray_rect_intersection(
rect: Rect<f32>,
origin: Vector2<f32>,
dir: Vector2<f32>
) -> Option<IntersectionResult>