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