re_view_spatial
0.21.0
In re_view_spatial::ui_2d
Function
re_view_spatial
::
ui_2d
::
scale_rect
Copy item path
source
ยท
[
−
]
fn scale_rect(rect: Rect, factor: Vec2) -> Rect