dplug ~master (2024-12-12T14:21:32Z)
Home
Dub
Repo
Box.translate
dplug
math
box
Box
Translate this Box by
x
,
y
.
Box
translate
(bound_t offset)
Box
translate
(T x, T y)
struct
Box
(T, int N)
@
nogc
pure const nothrow
static if
(
N >= 2
)
Box
translate
(
T
x
,
T
y
)
Box
translate
(T x, T y, T z)
Meta
Source
See Implementation
dplug
math
box
Box
aliases
bound_t
constructors
this
functions
abs
contains
distance
expand
grow
intersection
intersects
isSorted
opAssign
opCast
opEquals
scaleByFactor
shrink
squaredDistance
translate
properties
center
depth
empty
height
size
volume
width
static functions
rectangle
variables
max
min
Translate this Box by x, y.