dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
Box.rectangle
dplug
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
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
Helper function to create rectangle with a given point, width and height.