(point: Vector2, rect: BoundingBox)
| 852 | } |
| 853 | |
| 854 | fn point_is_inside_rect(point: Vector2, rect: BoundingBox) -> bool { |
| 855 | point.x >= rect.x |
| 856 | && point.x <= rect.x + rect.width |
| 857 | && point.y >= rect.y |
| 858 | && point.y <= rect.y + rect.height |
| 859 | } |
| 860 | |
| 861 | #[derive(Debug, Clone, Copy)] |
| 862 | struct ScrollbarAxisGeometry { |
no outgoing calls
no test coverage detected