inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
Rect.expand
inmath
linalg
Rect
Expands the rect by the specified amount from the center
struct
Rect
(type)
@
safe
pure nothrow const
void
expand
(
vtype
)
(
vtype
other
)
if
(
isVector
!
vtype
&&
vtype.dimension
== 2
)
Meta
Source
See Implementation
inmath
linalg
Rect
aliases
RectT
rt
functions
bottom
center
corner
dimensions
displace
displaced
expand
expandSize
expanded
expandedSize
intersects
left
ptr
right
top
uvs
static functions
identity
unions
__anonymous
Expands the rect by the specified amount from the center