inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
Rect.expanded
inmath
linalg
Rect
Gets a rect that has been expanded by the specified amount from the center
struct
Rect
(type)
@
safe
pure nothrow const
RectT
expanded
(
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
Gets a rect that has been expanded by the specified amount from the center