gfm ~master (2021-03-12T16:19:32Z)
Home
Dub
Repo
Box.rectangle
gfm
math
box
Box
Helper function to create rectangle with a given point, width and height.
struct
Box
(T, int N)
static @
nogc
pure nothrow
static if
(
N == 2
)
Box
rectangle
(
T
x
,
T
y
,
T
width
,
T
height
)
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
Helper function to create rectangle with a given point, width and height.