Skip to main content
snap_rect
blockworx_
geom
0.1.0
In blockworx_
geom::
grid
blockworx_geom
::
grid
Function
snap_
rect
Copy item path
Source
pub fn snap_rect(rect:
Rect
) ->
Rect
Expand description
A world-space rect with both corners snapped to the grid.