inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
Rect.displace
inmath
linalg
Rect
Displaces the rect by the specified amount
struct
Rect
(type)
@
safe
pure nothrow const
void
displace
(
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
Displaces the rect by the specified amount