dplug ~master (2024-09-30T22:25:31Z)
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)
Box
translate
(T x, T y, T z)
struct
Box
(T, int N)
@
nogc
pure const nothrow
static if
(
N >= 3
)
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.