gfm ~master (2021-03-12T16:19:32Z)
Home
Dub
Repo
Box.translate
gfm
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
gfm
math
box
Box
aliases
bound_t
constructors
this
functions
abs
contains
distance
expand
grow
intersection
intersects
isSorted
opAssign
opCast
opEquals
shrink
squaredDistance
translate
properties
center
depth
empty
height
size
volume
width
static functions
rectangle
variables
max
min
Translate this Box by x, y.